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

Update error must be string #798

Closed
wants to merge 3 commits into from
Closed

Conversation

lclpedro
Copy link

update error must be string python 3 for login_count in flask_security.

lclpedro and others added 3 commits August 17, 2018 16:44
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 Dec 6, 2021
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

2 participants