mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-18 13:24:37 -04:00
Regenerate session ID on login (#7829)
Follow-up to #7762 * Regenerate session ID on login * Send only one cookie * Improvements * Delete old session file * Simplify * Make function consistent with others
This commit is contained in:
@@ -149,10 +149,7 @@ class FreshRSS_user_Controller extends FreshRSS_ActionController {
|
||||
return;
|
||||
}
|
||||
|
||||
ini_set('session.use_cookies', '1');
|
||||
Minz_Session::lock();
|
||||
Minz_Session::regenerateID();
|
||||
Minz_Session::unlock();
|
||||
Minz_Session::regenerateID('FreshRSS');
|
||||
}
|
||||
|
||||
if (FreshRSS_Context::systemConf()->force_email_validation && empty($email)) {
|
||||
|
||||
Reference in New Issue
Block a user