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

breakage with flask-login==0.6.2 #163

Closed
guruofgentoo opened this issue Aug 12, 2022 · 1 comment
Closed

breakage with flask-login==0.6.2 #163

guruofgentoo opened this issue Aug 12, 2022 · 1 comment
Assignees

Comments

@guruofgentoo
Copy link
Member

Not sure what changed here, but it seems like flask-login is retaining a reference to old session users even after they have been deleted. Generally, we expect that when we create a test app to log in (whether via AuthTestApp or using a plain one to test login view operation), we should have a fresh session to test with.

flask-login 0.6.2 was released to be compatible with flask/werkzeug 2.2. We need to do some work to have those compatible in keg anyway, so we can add this to the list.

@guruofgentoo
Copy link
Member Author

FWIW this is the same root issue as level12/keg#90. Flask-login started to cache the user on flask.g.

@guruofgentoo guruofgentoo self-assigned this Dec 7, 2022
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

No branches or pull requests

1 participant