mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 17:39:46 +01:00
Issue #4356 Make sure admin login area uses 'session' tracking.
This commit is contained in:
parent
213aaeee43
commit
afcbd2c01b
@ -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)
|
$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;
|
$_SESSION[e107::getPref('cookie_name')] = $cookieval;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user