otpCaptcha

This commit is contained in:
MaxKey
2022-04-22 11:46:01 +08:00
parent a02822d0b3
commit e31a83b679
8 changed files with 34 additions and 7 deletions

View File

@@ -84,7 +84,7 @@ public class ImageCaptchaEndpoint {
if(StringUtils.isNotBlank(state)
&& !state.equalsIgnoreCase("state")
&& authJwtService.validateJwtToken(state)) {
//do nothing
//just validate state Token
}else {
state = authJwtService.genJwt();
}