system: should be the case via 993c9e545f
This commit is contained in:
parent
b138ca38a7
commit
7e7c9901eb
|
@ -101,7 +101,6 @@ function session_auth(&$Login_Error)
|
|||
$authenticator = $authFactory->lastUsedAuth;
|
||||
// Generate a new id to avoid session fixation
|
||||
session_regenerate_id();
|
||||
// XXX: eventually we should replace the login flow for a service based one (IService).
|
||||
$_SESSION['Username'] = $authenticator->getUserName($_POST['usernamefld']);
|
||||
$_SESSION['last_access'] = time();
|
||||
$_SESSION['protocol'] = $config['system']['webgui']['protocol'];
|
||||
|
|
Loading…
Reference in New Issue