lgy 2 months ago
parent
commit
8a00536398
1 changed files with 1 additions and 0 deletions
  1. 1 0
      jcjyhr/app/admin/library/Auth.php

+ 1 - 0
jcjyhr/app/admin/library/Auth.php

@@ -169,6 +169,7 @@ class Auth extends \ba\Auth
     public function login(string $username, string $password, bool $keep = false,&$force=0,&$userId='')//: bool
     {
         $this->model = Admin::where('username', $username)->find();
+        var_dump($this->model);die;
         if (!$this->model) {
             $this->setError('Username is incorrect');
             return false;