Skip to content

Commit a263261

Browse files
committed
fix: 修复当 refresh token 损坏时 code 码选定错误的 bug
1 parent f71f542 commit a263261

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/io/github/talelin/latticy/common/interceptor/AuthorizeVerifyResolverImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public boolean handleRefresh(HttpServletRequest request, HttpServletResponse res
108108
} catch (TokenExpiredException e) {
109109
throw new io.github.talelin.autoconfigure.exception.TokenExpiredException(10051);
110110
} catch (AlgorithmMismatchException | SignatureVerificationException | JWTDecodeException | InvalidClaimException e) {
111-
throw new TokenInvalidException(10041);
111+
throw new TokenInvalidException(10042);
112112
}
113113
return getClaim(claims);
114114
}

0 commit comments

Comments
 (0)