@@ -124,7 +124,7 @@ class LoginForm extends Model {
$this->getUser();
if(!$this->_user){
AdminLoginLogger::fail(['FAIL_NUMS' => 0, 'ADMIN_NAME' => $this->adminName, 'LOGIN_NUMS' => 1], '账号不存在');
- throw new Exception('账号不存在');
+ throw new Exception('用户名或者密码错误');
}
// 失败次数到达上限次数
$loginFailNums = Yii::$app->redis->get('FAIL_NUMS:' . $this->adminName) ?? 0;