Skip to content

Commit 5014458

Browse files
author
Till Brehm
committed
Fixed Issue #3827 Stable 3.1 login session / cookie
1 parent d44bcf1 commit 5014458

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

interface/web/login/index.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@
209209
$user = $app->db->toLower($user);
210210

211211
if ($loginAs) $oldSession = $_SESSION['s'];
212-
if (!$loginAs) session_regenerate_id(true);
212+
// Session regenerate causes login problems on some systems, have to find a better way. see Issue #3827
213+
//if (!$loginAs) session_regenerate_id(true);
213214
$_SESSION = array();
214215
if ($loginAs) $_SESSION['s_old'] = $oldSession; // keep the way back!
215216
$_SESSION['s']['user'] = $user;

0 commit comments

Comments
 (0)