Révision 3034b371
Ajouté par Renato Botelho il y a presque 10 ans
etc/inc/auth.inc | ||
---|---|---|
1361 | 1361 |
$authcfg = auth_get_authserver($config['system']['webgui']['authmode']); |
1362 | 1362 |
if (authenticate_user($_POST['usernamefld'], $_POST['passwordfld'], $authcfg) || |
1363 | 1363 |
authenticate_user($_POST['usernamefld'], $_POST['passwordfld'])) { |
1364 |
// Generate a new id to avoid session fixation |
|
1364 | 1365 |
session_regenerate_id(); |
1365 | 1366 |
$_SESSION['Logged_In'] = "True"; |
1366 | 1367 |
$_SESSION['Username'] = $_POST['usernamefld']; |
Formats disponibles : Unified diff
Add comment I forgot on last commit