Antiloveg 8 years ago
parent
commit
73e46991ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/goafanti/user/controller/UserApiController.java

+ 1 - 1
src/main/java/com/goafanti/user/controller/UserApiController.java

@@ -692,7 +692,7 @@ public class UserApiController extends BaseApiController {
 			return res;
 		}
 		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));
 				return res;
 			}