Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Update variable python 3 #797

Closed
wants to merge 2 commits into from
Closed

Conversation

lclpedro
Copy link

correcting the error below in functionality with python 3

Console error:

flask_security/utils.py", line 93, in login_user
Open an interactive python shell in this frameuser.login_count = user.login_count + 1 if user.login_count else 1
TypeError: must be str, not int

correcting the error below in functionality with python 3

Console error:
flask_security/utils.py", line 93, in login_user
Open an interactive python shell in this frameuser.login_count = user.login_count + 1 if user.login_count else 1
TypeError: must be str, not int
update error must be string python 3 for login_count in flask_security.
@lclpedro lclpedro closed this Aug 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant