mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 15:16:30 +02:00
#4633: Default to user_tracking "session" in user_model.php
Second part of https://github.com/e107inc/e107/commit/94f3162 Fixes: #4633
This commit is contained in:
@@ -2112,7 +2112,7 @@ class e_user extends e_user_model
|
|||||||
{
|
{
|
||||||
$this->_session_data = null;
|
$this->_session_data = null;
|
||||||
$this->_session_key = e107::getPref('cookie_name', 'e107cookie');
|
$this->_session_key = e107::getPref('cookie_name', 'e107cookie');
|
||||||
$this->_session_type = e107::getPref('user_tracking', 'cookie');
|
$this->_session_type = e107::getPref('user_tracking', 'session');
|
||||||
|
|
||||||
if('session' == $this->_session_type && isset($_SESSION[$this->_session_key]) && !empty($_SESSION[$this->_session_key]))
|
if('session' == $this->_session_type && isset($_SESSION[$this->_session_key]) && !empty($_SESSION[$this->_session_key]))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user