Skip to content
Snippets Groups Projects

update: reload on logout

Merged Clément requested to merge reload-on-logout into master
Compare and
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -232,7 +232,7 @@ class SIBAuth extends HTMLElement {
* Try to logout if favorite provider is set
*/
logout() {
auth.logout().then(() => this.dispatchUserInfo());
auth.logout().then(() => this.dispatchUserInfo()).then(() => window.location.reload());
}
/** @function