Commit 89c5fc27 authored by dockx thibault's avatar dockx thibault
Browse files

Merge branch...

Merge branch '6219-security-cookie-session-is-not-renewed-or-set-after-authentification' into '1.4-dev'

Resolve "[security] - Cookie session is not renewed or set after authentification"

Closes #6219

See merge request fusiondirectory/fd!958
No related merge requests found
Showing with 3 additions and 0 deletions
+3 -0
...@@ -159,6 +159,9 @@ class LoginMethod ...@@ -159,6 +159,9 @@ class LoginMethod
$ui = session::get('ui'); $ui = session::get('ui');
//Create new session ID to avoir session_fixation security issues after sucess login
session_regenerate_id();
/* Not account expired or password forced change go to main page */ /* Not account expired or password forced change go to main page */
logging::log('security', 'login', $ui->uid, [], 'Logged in successfully'); logging::log('security', 'login', $ui->uid, [], 'Logged in successfully');
session::set('connected', 1); session::set('connected', 1);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment