* Fix bug.
This commit is contained in:
@@ -248,10 +248,10 @@ class adminModel extends model
|
||||
}
|
||||
|
||||
if(isset($weaks[$user->password])) return true;
|
||||
if($user->password and md5($user->account)) return true;
|
||||
if($user->phone and $user->password and md5($user->phone)) return true;
|
||||
if($user->mobile and $user->password and md5($user->mobile)) return true;
|
||||
if($user->birthday and $user->password and md5($user->birthday)) return true;
|
||||
if($user->password == md5($user->account)) return true;
|
||||
if($user->phone and $user->password == md5($user->phone)) return true;
|
||||
if($user->mobile and $user->password == md5($user->mobile)) return true;
|
||||
if($user->birthday and $user->password == md5($user->birthday)) return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user