system: should be the case via 993c9e545f

This commit is contained in:
Franco Fichtner 2021-01-10 19:33:46 +01:00
parent b138ca38a7
commit 7e7c9901eb
1 changed files with 0 additions and 1 deletions

View File

@ -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'];