Merge pull request #4741 from FinnStutzenstein/noErrorPageOnLogout

Prevent error page flickering on logout
This commit is contained in:
Finn Stutzenstein 2019-05-27 09:30:52 +02:00 committed by GitHub
commit 1599e91fa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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(['/']);
}
}