Skip to content
Snippets Groups Projects
Commit 33ff697f authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier
Browse files

fix: clear session storage before login

parent e50c1c4b
No related branches found
No related tags found
No related merge requests found
Pipeline #3290 failed
......@@ -33,6 +33,9 @@ class SIBAuthProvider extends HTMLElement {
if ('localStorage' in window) {
window.localStorage.clear();
}
if ('sessionStorage' in window) {
window.sessionStorage.clear();
}
auth.login(this.dataset.authority, { clientName: this.dataset.clientName });
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment