|
|
@ -151,7 +151,7 @@ public class AdminAuthServiceImpl implements AdminAuthService { |
|
|
|
createLoginLog(null, username, LoginLogTypeEnum.LOGIN_USERNAME, LoginResultEnum.CAPTCHA_EXPIRE); |
|
|
|
throw exception(AUTH_LOGIN_CAPTCHA_CODE_ERROR); |
|
|
|
} |
|
|
|
if (!code.equalsIgnoreCase(captcha)) { |
|
|
|
if (!captcha.equalsIgnoreCase(code)) { |
|
|
|
createLoginLog(null, username, LoginLogTypeEnum.LOGIN_USERNAME, LoginResultEnum.CAPTCHA_CODE_ERROR); |
|
|
|
throw exception(AUTH_LOGIN_CAPTCHA_CODE_ERROR); |
|
|
|
} |
|
|
|