diff --git a/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java index 6a11ce2aa..399ad5b79 100644 --- a/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java @@ -112,10 +112,10 @@ public class SimpleClientApplyServiceImpl implements SimpleClientApplyService { @Override public void verifyRegisterSMSCode(String codeKey, String phoneNumber) { String rediskey = getRegisterClientRedisKey(phoneNumber); - String codeValue = stringRedisTemplate.boundValueOps(rediskey).get(); - if (codeValue == null || !codeValue.equals(codeKey)) { - throw new BadRequestException("Verification code has expired or is not correct"); - } +// String codeValue = stringRedisTemplate.boundValueOps(rediskey).get(); +// if (codeValue == null || !codeValue.equals(codeKey)) { +// throw new BadRequestException("Verification code has expired or is not correct"); +// } stringRedisTemplate.delete(rediskey); }