Prevent error page flickering on logout
This commit is contained in:
parent
309b8118f6
commit
69903192a2
@ -90,9 +90,9 @@ export class AuthService {
|
|||||||
} catch (e) {
|
} catch (e) {
|
||||||
// We do nothing on failures. Reboot OpenSlides anyway.
|
// We do nothing on failures. Reboot OpenSlides anyway.
|
||||||
}
|
}
|
||||||
|
this.router.navigate(['/']);
|
||||||
await this.DS.clear();
|
await this.DS.clear();
|
||||||
await this.operator.setWhoAmI(response);
|
await this.operator.setWhoAmI(response);
|
||||||
await this.OpenSlides.reboot();
|
await this.OpenSlides.reboot();
|
||||||
this.router.navigate(['/']);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user