feat:用户审核状态检测

new-exam
wangxy 5 months ago
parent 7e56b809c9
commit 5e995925d4

@ -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")));
throw new UserDisableException();

Loading…
Cancel
Save