1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +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:
Nick Liu
2022-01-17 09:59:05 +01:00
parent 404425caf1
commit f1a2f2e768

View File

@@ -2112,7 +2112,7 @@ class e_user extends e_user_model
{
$this->_session_data = null;
$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]))
{