We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
In Flask-Login==0.3.2, is_authenticated isn't a method anymore but a boolean. Is it pythonic if we replace :
if current_user.is_authenticated(): pass
by :
if current_user.is_authenticated: pass
If you think it's a good workaround, I can send you a pull request.
Br, Bilal
The text was updated successfully, but these errors were encountered:
It happened a long time ago in 0.3.0 too. I'll submit a PR since maybe it'll save somebody else from having to do it.
Sorry, something went wrong.
Change is_authenticated calls to just a property
475734f
This is a breaking change in Flask-Login since 0.3.0: https://github.com/maxcountryman/flask-login/blob/93a5e20ba7289c3c0ed440faaa5b195d36f392cb/CHANGES#L25-L27 Closes imwilsonxu#45
Fix with 6ff899e
No branches or pull requests
Hello,
In Flask-Login==0.3.2, is_authenticated isn't a method anymore but a boolean.
Is it pythonic if we replace :
by :
If you think it's a good workaround, I can send you a pull request.
Br,
Bilal
The text was updated successfully, but these errors were encountered: