Merge pull request #4741 from FinnStutzenstein/noErrorPageOnLogout
Prevent error page flickering on logout
This commit is contained in:
commit
1599e91fa5
@ -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