Skip to content

Removed return type "Token" on "find" method #4

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

Merged
merged 1 commit into from
Nov 27, 2020

Conversation

oniz93
Copy link
Contributor

@oniz93 oniz93 commented Nov 27, 2020

I removed this because when the passed token does not exists the function returns Null and raise a TypeError exception.
With this Passport can use the "Null" token and raise a 403

…ists it return Null and raise a TypeError exception
@overtrue overtrue merged commit 7ddee68 into overtrue:master Nov 27, 2020
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.

3 participants