mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-20 09:58:09 +08:00
otpCaptcha
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user