diff options
author | Andrew Dolgov <[email protected]> | 2018-10-16 11:39:12 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-10-16 11:39:12 +0300 |
commit | f8fc1ac54314dbd22c8673beb15d16780a0fc4c7 (patch) | |
tree | a767c78a7226d56e547f5bccfd9000b409aa2842 /include/functions.php | |
parent | f730d7bb0ac691153eacd80844bb530dca04e3cc (diff) |
login: check for stale session in login handler, instead of authenticate_user()
Diffstat (limited to 'include/functions.php')
-rwxr-xr-x | include/functions.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/functions.php b/include/functions.php index 5588590a8..006d17a48 100755 --- a/include/functions.php +++ b/include/functions.php @@ -714,13 +714,6 @@ if ($user_id && !$check_only) { - /* if a session is started here there's a stale login cookie we need to clean */ - - if (session_status() != PHP_SESSION_NONE) { - $_SESSION["login_error_msg"] = __("Stale session cookie found, try logging in again"); - return false; - } - session_regenerate_id(true); session_start(); |