feat:密品修改

hangao
wangxy 5 months ago
parent a4a218786d
commit e0483c9518

@ -116,7 +116,7 @@ public class SysLoginService
/** /**
* *
*/ */
if (ExamineState.DISABLE.getCode().equals(user.getExamine()) || ExamineState.DEFAULT.getCode().equals(user.getExamine())) if (!ExamineState.ENABLE.getCode().equals(user.getExamine()))
{ {
AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("user.examine.disabled"))); AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("user.examine.disabled")));
throw new UserDisableException(); throw new UserDisableException();

Loading…
Cancel
Save