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

+ 1 - 0
jcjyhr/app/admin/controller/Index.php

@@ -125,6 +125,7 @@ class Index extends Backend
             $force=0;
             $userId = '';
             $res = $this->auth->login($username, $password, (bool)$keep,$force,$userId);
+            var_dump($res);die;
             if ($res === true) {
                 if($force == 1)
                 {

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

@@ -214,7 +214,6 @@ class Auth extends \ba\Auth
             $this->setRefreshToken($this->refreshTokenKeepTime);
         }
         $this->loginSuccessful();
-        var_dump(1);die;
         if(Cache::get('admin_only'.$username))
         {
             $other = Cache::get('admin_only'.$username);