1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 04:10:38 +02:00

Issue #2984 - online tracking disabled and login issue.

This commit is contained in:
Cameron
2018-01-19 11:47:52 -08:00
parent 5343fe80e0
commit 3ef44e3d91

View File

@@ -238,7 +238,7 @@ class userlogin
$user_email = $this->userData['user_email'];
/* restrict more than one person logging in using same us/pw */
if(!empty($pref['disallowMultiLogin']) && !empty($user_id))
if(!empty($pref['track_online']) && !empty($pref['disallowMultiLogin']) && !empty($user_id))
{
if($sql->select("online", "online_ip", "online_user_id='".$user_id.".".$user_name."'"))
{