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

FlaskPlugin: use get_id() instead of id attr #150

Merged
merged 1 commit into from
Feb 10, 2022

Conversation

jirikuncar
Copy link
Contributor

@jirikuncar jirikuncar commented Nov 8, 2016

Following Flask-Login documentation we should use current_user.get_id()
instead of current_user.id. (closes #149)
https://flask-login.readthedocs.io/en/latest/#your-user-class

@kvesteri WDYT?

Following Flask-Login documentation we should use current_user.get_id()
instead of current_user.id.  (closes kvesteri#149)
https://flask-login.readthedocs.io/en/latest/#your-user-class

Signed-off-by: Jiri Kuncar <[email protected]>
@marksteward marksteward merged commit 7eda527 into kvesteri:master Feb 10, 2022
@marksteward
Copy link
Collaborator

lgtm. Thanks!

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.

FlaskPlugin: use get_id() method instead of id attribute
2 participants