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 edcc940 commit 3300f95Copy full SHA for 3300f95
interface/web/login/index.php
@@ -111,7 +111,7 @@ public function render() {
111
$sql = "DELETE FROM `attempts_login` WHERE `ip`='{$ip}'";
112
$app->db->query($sql);
113
$user = $app->db->toLower($user);
114
- if ($loginAs) $oldSession = $_SESSION['s_old'];
+ if ($loginAs) $oldSession = $_SESSION['s'];
115
$_SESSION = array();
116
if ($loginAs) $_SESSION['s_old'] = $oldSession; // keep the way back!
117
$_SESSION['s']['user'] = $user;
0 commit comments