fix: clear session storage

parent 40c22853
Pipeline #6058 passed with stage
in 1 minute and 11 seconds
...@@ -242,6 +242,9 @@ class SIBAuth extends HTMLElement { ...@@ -242,6 +242,9 @@ class SIBAuth extends HTMLElement {
if ('localStorage' in window) { if ('localStorage' in window) {
window.localStorage.clear(); window.localStorage.clear();
} }
if('sessionStorage' in window) {
window.sessionStorage.clear();
}
}) })
.then(() => window.location.reload()); .then(() => window.location.reload());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment