...
 
Commits (2)
......@@ -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 });
}
......
......@@ -242,6 +242,9 @@ class SIBAuth extends HTMLElement {
if ('localStorage' in window) {
window.localStorage.clear();
}
if('sessionStorage' in window) {
window.sessionStorage.clear();
}
})
.then(() => window.location.reload());
}
......