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

Fix: clear notifications from the db after logging out #4944

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

cooltey
Copy link
Collaborator

@cooltey cooltey commented Sep 10, 2024

What does this do?

The notifications are kept in the database even if you log out and switch to another account, which does not make sense if the user sees the notifications that do not associate with the currently logged-in account.

Why is this needed?

Clear the notification after the user logs out to prevent showing incorrect content for the user.

@cooltey cooltey requested a review from dbrant as a code owner September 10, 2024 20:38
@dbrant dbrant merged commit 5d829a7 into main Sep 11, 2024
1 check passed
@dbrant dbrant deleted the clear-notification-logout branch September 11, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants