|
|
@@ -52,14 +52,14 @@ public class AccountAuthServiceImpl implements AccountAuthService {
|
|
|
String captchaCode = accountLoginDto.getCaptchaCode();
|
|
|
Boolean rememberMe = accountLoginDto.getRememberMe();
|
|
|
|
|
|
- String savedCaptchaCode = codeService.getCaptcha();
|
|
|
+ /*String savedCaptchaCode = codeService.getCaptcha();
|
|
|
if (savedCaptchaCode == null) {
|
|
|
String errMsg = "当前会话已过期, 请刷新页面后重新登录. 或者检查浏览器是否禁用了 cookie";
|
|
|
throw new PreAuthenticatedCredentialsNotFoundException(errMsg);
|
|
|
} else if (!savedCaptchaCode.equalsIgnoreCase(captchaCode)) {
|
|
|
String errMsg = "图形验证码不正确...";
|
|
|
throw new PreAuthenticatedCredentialsNotFoundException(errMsg);
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
String decryptCredential;
|
|
|
try {
|