Skip to content

fix: logical expression in TokenRepository#64

Open
Sharkend wants to merge 1 commit into
ali-bouali:mainfrom
Sharkend:main
Open

fix: logical expression in TokenRepository#64
Sharkend wants to merge 1 commit into
ali-bouali:mainfrom
Sharkend:main

Conversation

@Sharkend
Copy link
Copy Markdown

Changed or to and in the JPQL query for findAllValidTokenByUser(Integer id), so that only one of expired or revoked being set to true is sufficient to invalidate the token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant