Revision 1353
Added by FrankH almost 15 years ago
| 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
Security fixes