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

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

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

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

@@ -376,6 +376,7 @@ class Auth extends \ba\Auth
         $info                  = array_intersect_key($info, array_flip($this->getAllowFields()));
         $info                  = array_intersect_key($info, array_flip($this->getAllowFields()));
         $info['token']         = $this->getToken();
         $info['token']         = $this->getToken();
         $info['refresh_token'] = $this->getRefreshToken();
         $info['refresh_token'] = $this->getRefreshToken();
+        var_dump($info);die;
         return $info;
         return $info;
     }
     }