Skip to content

Commit

Permalink
#4633: Default to user_tracking "session" in user_model.php
Browse files Browse the repository at this point in the history
Second part of
94f3162

Fixes: #4633
  • Loading branch information
Deltik committed Jan 17, 2022
1 parent 404425c commit f1a2f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e107_handlers/user_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -2112,7 +2112,7 @@ final public function setSessionData($force = false)
{
$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]))
{
Expand Down

0 comments on commit f1a2f2e

Please sign in to comment.