|
|
@ -77,7 +77,8 @@ public class SysLoginService |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (e instanceof BadCredentialsException) |
|
|
|
if (e instanceof BadCredentialsException) |
|
|
|
{ |
|
|
|
{ |
|
|
|
AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("user.password.not.match"))); |
|
|
|
// AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("user.password.not.match")));
|
|
|
|
|
|
|
|
AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, "用户名或密码错误")); |
|
|
|
throw new UserPasswordNotMatchException(); |
|
|
|
throw new UserPasswordNotMatchException(); |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|