mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
system: should be the case via 993c9e545fb5
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…
x
Reference in New Issue
Block a user