| | |
| | | return WebHelper.write2Page(response, NO_LOGIN); |
| | | } |
| | | |
| | | Object objCount = tokenService.redisService.get(RedisCacheKey.signPwdError(ue.getUid())); |
| | | if (objCount != null && (int) objCount > SettingData.PWD_ERR_COUNT) { |
| | | return WebHelper.write2Page(response, JSON.toJSONString(new ResponseMsg<String>(HttpStatus.NO_LOGIN_ERROR, SettingData.PWD_ERR_TIME + "分钟内禁止登录"))); |
| | | if (tokenService.isUidDisable(ue)) { |
| | | tokenService.logout(token, request, response); |
| | | return WebHelper.write2Page(response, JSON.toJSONString(new ResponseMsg<String>(HttpStatus.USER_LOCK_ERROR, SettingData.PWD_ERR_TIME + "分钟内禁止登录"))); |
| | | } |
| | | |
| | | // noinspection AlibabaRemoveCommentedCode |