dsadsadsa

This commit is contained in:
saeid_01
2019-05-12 05:04:55 +04:30
parent 8040e2a4cb
commit 9fe4937d79
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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();
}
}