1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

Issue #4356 Admin login issue.

This commit is contained in:
Cameron
2021-01-27 16:19:37 -08:00
parent 4098a03698
commit 94f3162d94
3 changed files with 20 additions and 10 deletions

View File

@@ -712,7 +712,7 @@ class UserHandler
}
$cookieval = $lode['user_id'].'.'.md5($lode['user_password']); // (Use extra md5 on cookie value to obscure hashed value for password)
if (e107::getPref('user_tracking') == 'session'|| e_ADMIN_AREA)
if (e107::getPref('user_tracking','session') == 'session')
{
$_SESSION[e107::getPref('cookie_name')] = $cookieval;
}