mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 05:07:27 +02:00
Issue #2984 - online tracking disabled and login issue.
This commit is contained in:
@@ -238,7 +238,7 @@ class userlogin
|
|||||||
$user_email = $this->userData['user_email'];
|
$user_email = $this->userData['user_email'];
|
||||||
|
|
||||||
/* restrict more than one person logging in using same us/pw */
|
/* 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."'"))
|
if($sql->select("online", "online_ip", "online_user_id='".$user_id.".".$user_name."'"))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user