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