...
 
Commits (2)
......@@ -30,6 +30,9 @@ class SIBAuthProvider extends HTMLElement {
* @param {SIBAuth} parent - SIBAuth parent instance
*/
async login() {
if ('localStorage' in window) {
window.localStorage.clear();
}
auth.login(this.dataset.authority, { clientName: this.dataset.clientName });
}
......