1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Issue #4356 Make sure admin login area uses 'session' tracking.

This commit is contained in:
Cameron 2021-01-26 12:13:57 -08:00
parent 213aaeee43
commit afcbd2c01b

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')
if (e107::getPref('user_tracking') == 'session'|| e_ADMIN_AREA)
{
$_SESSION[e107::getPref('cookie_name')] = $cookieval;
}