Skip to content

Commit 3b8b2e9

Browse files
author
wpdebruin
authored
Update JwtService.cfc
1 parent 54da0fc commit 3b8b2e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/jwt/JwtService.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ component accessors="true" singleton {
400400
}
401401

402402
// Verify that this token has not been invalidated in the storage?
403-
if ( !getTokenStorage().exists( decodedToken.jti ) && variables.settings.jwt.tokenStorage.enabled ) {
403+
if ( variables.settings.jwt.tokenStorage.enabled && !getTokenStorage().exists( decodedToken.jti ) ) {
404404
if ( variables.log.canWarn() ) {
405405
variables.log.warn( "Token rejected, it was not found in token storage", decodedToken );
406406
}

0 commit comments

Comments
 (0)