We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 472c2cc commit ef28e40Copy full SHA for ef28e40
interface/web/login/index.php
@@ -185,6 +185,7 @@ public function render() {
185
$user = $app->db->toLower($user);
186
187
if ($loginAs) $oldSession = $_SESSION['s'];
188
+ session_regenerate_id();
189
$_SESSION = array();
190
if ($loginAs) $_SESSION['s_old'] = $oldSession; // keep the way back!
191
$_SESSION['s']['user'] = $user;
0 commit comments