|
|
@@ -772,7 +772,8 @@ public class UserApiController extends BaseApiController {
|
|
|
res.getError().add(buildError(ErrorConstants.VCODE_EMPTY_ERROR));
|
|
|
return res;
|
|
|
}
|
|
|
- if (!TokenManager.getSession().getAttribute(VerifyCodeUtils.V_CODE).equals(verificationCode)) {
|
|
|
+ if (!verificationCode
|
|
|
+ .equalsIgnoreCase((String) TokenManager.getSession().getAttribute(VerifyCodeUtils.V_CODE))) {
|
|
|
res.getError().add(buildError(ErrorConstants.VCODE_ERROR));
|
|
|
return res;
|
|
|
}
|