Project

General

Profile

« Previous | Next » 

Revision 1353

Added by FrankH about 14 years ago

Security fixes

View differences:

add.php
22 22
$admin = new admin('Access', 'users_add');
23 23

  
24 24
// Create new database object
25
$database = new database();
25
//$database = new database();
26
if( !$admin->checkFTAN() )
27
{
28
	$admin->print_error($MESSAGE['PAGES_NOT_SAVED'],'index.php');
29
	exit();
30
}
26 31

  
27 32
// Get details entered
28 33
$groups_id = implode(",", $admin->add_slashes($_POST['groups'])); //should check permissions

Also available in: Unified diff