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

feat: add logout event hook #1104

Merged
merged 2 commits into from
Dec 19, 2022
Merged

feat: add logout event hook #1104

merged 2 commits into from
Dec 19, 2022

Conversation

czgu
Copy link
Collaborator

@czgu czgu commented Dec 17, 2022

when user logs out, allow auth module to provide additional callback before actually logging them out via flask_login
also fixed a bug where current_user.id is used for unauth endpoints

@czgu czgu requested a review from jczhong84 December 17, 2022 01:30
@czgu czgu marked this pull request as ready for review December 17, 2022 01:30
@czgu czgu merged commit 1527ff3 into pinterest:master Dec 19, 2022
@czgu czgu deleted the auth branch December 19, 2022 18:53
rohan-sh1 pushed a commit to CAI-TECHNOLOGIES/cai-ext-db-explorer that referenced this pull request Feb 28, 2023
* feat: add logout event hook

* Make sure refresh banner logs out user
aidenprice pushed a commit to arrowtail-precision/querybook that referenced this pull request Jan 3, 2024
* feat: add logout event hook

* Make sure refresh banner logs out user
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.

None yet

2 participants