Commit fef0f6b4 authored by Matthieu Fesselier's avatar Matthieu Fesselier

Merge branch 'reload-on-logout' into 'master'

update: reload on logout

Closes #26

See merge request !14
parents 2ec5b638 ba2bf52f
Pipeline #5257 passed with stage
in 53 seconds
......@@ -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
......
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