Skip to content

Commit 3930b08

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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
@@ -106,7 +106,7 @@ public boolean handleRefresh(HttpServletRequest request, HttpServletResponse res
106106
try {
107107
claims = jwt.decodeRefreshToken(tokenStr);
108108
} catch (TokenExpiredException e) {
109-
throw new io.github.talelin.autoconfigure.exception.TokenExpiredException(10051);
109+
throw new io.github.talelin.autoconfigure.exception.TokenExpiredException(10052);
110110
} catch (AlgorithmMismatchException | SignatureVerificationException | JWTDecodeException | InvalidClaimException e) {
111111
throw new TokenInvalidException(10042);
112112
}

0 commit comments

Comments
 (0)