Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate query to blacklisted tokens table #2252

Open
medilies opened this issue Apr 2, 2024 · 0 comments
Open

Duplicate query to blacklisted tokens table #2252

medilies opened this issue Apr 2, 2024 · 0 comments

Comments

@medilies
Copy link

medilies commented Apr 2, 2024

Subject of the issue

This part of code https://github.com/tymondesigns/jwt-auth/blob/2.x/src/JWTGuard.php#L78-L79 sends the following query twice:

select top 1 * from <table> where [key] = <token>"

Your environment

Q A
Bug? yes
New Feature? no
Framework Laravel
Framework version 9.47.0
Package version dev-develop
PHP version 8.1.6
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

No branches or pull requests

1 participant