jerry hai 1 ano
pai
achega
e20af64521
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      frontendApi/modules/v1/models/LoginForm.php

+ 1 - 1
frontendApi/modules/v1/models/LoginForm.php

@@ -59,7 +59,7 @@ class LoginForm extends Model
         if (!$this->hasErrors()) {
         if (!$this->hasErrors()) {
             $user = $this->getUser();
             $user = $this->getUser();
             if(!$user){
             if(!$user){
-                $this->addError($attribute, '用户名错误');
+                $this->addError($attribute, '用户名或密码错误');
             } else {
             } else {
 
 
 //                $userInfo = UserInfo::findOneAsArray('USER_ID=:USER_ID', [':USER_ID'=>$user['ID']]);
 //                $userInfo = UserInfo::findOneAsArray('USER_ID=:USER_ID', [':USER_ID'=>$user['ID']]);