mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 17:51:05 +03:30
dsadsadsa
This commit is contained in:
+1
-1
@@ -53,6 +53,6 @@ class User extends Authenticatable
|
||||
|
||||
public function findForPassport($username)
|
||||
{
|
||||
return $this->where('cell_number', $username)->first();
|
||||
return $this->where('cell_number', $username)->where('status', 'Active')->first();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user