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

Clear token from cookie and local storage to better clean #1516

Merged
merged 1 commit into from
Dec 12, 2020
Merged

Clear token from cookie and local storage to better clean #1516

merged 1 commit into from
Dec 12, 2020

Conversation

cnotin
Copy link
Contributor

@cnotin cnotin commented Nov 21, 2020

Prevent the state where we are disconnected (from the app point of view
since we did not login) while the UI shows us still connected because we
still have a token in cookie/localstorage

Another option would be to call the logout function from navbar, but I don't know how to do it. What do you think?

Prevent the state where we are disconnected (from the app point of view
since we did not login) while the UI shows us still connected because we
still have a token in cookie/localstorage

Signed-off-by: Clément Notin <clement@notin.org>
@bkimminich
Copy link
Member

ℹ️ Unfortunately the Travis-CI pipeline is still unavailable due to missing OSS credits. I've pinged them on the respective support ticket once again, but haven't heard back from them yet. Reviews and merging of open PRs will resume once our CI/CD is back online. Thanks for your contribution and patience! 👍

@cnotin cnotin marked this pull request as draft December 5, 2020 18:58
@cnotin cnotin marked this pull request as ready for review December 5, 2020 18:58
@cnotin cnotin closed this Dec 5, 2020
@cnotin cnotin reopened this Dec 5, 2020
@bkimminich bkimminich merged commit f288f01 into juice-shop:develop Dec 12, 2020
@cnotin cnotin deleted the pr-clear-more branch December 12, 2020 10:56
@github-actions github-actions bot locked and limited conversation to collaborators Dec 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants