|
@@ -692,7 +692,7 @@ public class UserApiController extends BaseApiController {
|
|
|
return res;
|
|
return res;
|
|
|
}
|
|
}
|
|
|
if (STEP_ONE.equals(userIdentity.getProcess())) {
|
|
if (STEP_ONE.equals(userIdentity.getProcess())) {
|
|
|
- if (!TokenManager.getSession().getAttribute(VerifyCodeUtils.V_CODE).equals(verificationCode)) {
|
|
|
|
|
|
|
+ if (!VerifyCodeUtils.verifyCode(verificationCode)) {
|
|
|
res.getError().add(buildError(ErrorConstants.VCODE_ERROR));
|
|
res.getError().add(buildError(ErrorConstants.VCODE_ERROR));
|
|
|
return res;
|
|
return res;
|
|
|
}
|
|
}
|