diff --git a/client/src/app/core/core-services/auth.service.ts b/client/src/app/core/core-services/auth.service.ts index 3fa26e962..02755cc09 100644 --- a/client/src/app/core/core-services/auth.service.ts +++ b/client/src/app/core/core-services/auth.service.ts @@ -90,9 +90,9 @@ export class AuthService { } catch (e) { // We do nothing on failures. Reboot OpenSlides anyway. } + this.router.navigate(['/']); await this.DS.clear(); await this.operator.setWhoAmI(response); await this.OpenSlides.reboot(); - this.router.navigate(['/']); } }