Refresh on logout #2088

Closed
wyatt777 wants to merge 1 commit from gitlab-mr-iid-819 into develop
Member

On production notifications are not being updated after re-login. If someone logs out and then logs in as another user they can still see the first user's notifications. Refreshing fixes this. Check issue #563 for more details.

On production notifications are not being updated after re-login. If someone logs out and then logs in as another user they can still see the first user's notifications. Refreshing fixes this. Check issue #563 for more details.

This is a bit brutal, would be better to clear out the notifications in vuex (and any other residual data)

This is a bit brutal, would be better to clear out the notifications in vuex (and any other residual data)
Member

I agree with @lambadalambda

I agree with @lambadalambda
Author
Member

This is reproducible in production under certain conditions, I was not able to get it locally. Clearing out all browser data did not fix it, i.e. the DOM with the notifications did not refresh because of the data being gone.

This is reproducible in production under certain conditions, I was not able to get it locally. Clearing out all browser data did not fix it, i.e. the DOM with the notifications did not refresh because of the data being gone.

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pleroma/pleroma-fe!2088
No description provided.