|
|
@@ -182,7 +182,7 @@ public class AccountLogicImpl implements AccountLogic {
|
|
|
@Override
|
|
|
public AccountVO registerByEmail(AccountVO accountVO, HttpServletRequest request, HttpServletResponse response) {
|
|
|
|
|
|
- if (CaptchaUtils.verifyPictureCaptcha(request, accountVO.getCaptcha())) {
|
|
|
+ if (!CaptchaUtils.verifyPictureCaptcha(request, accountVO.getCaptcha())) {
|
|
|
throw new HttpBadRequestException("Captcha error");
|
|
|
}
|
|
|
return register(accountVO);
|