1
0
mirror of https://github.com/bitwarden/directory-connector synced 2026-01-07 02:53:24 +00:00

Added await to prevent race condition for successRoute (#66)

This commit is contained in:
Vincent Salucci
2020-09-10 12:35:52 -05:00
committed by GitHub
parent f2137c02f7
commit e5d0405882

View File

@@ -39,7 +39,7 @@ export class TwoFactorComponent extends BaseTwoFactorComponent {
}
async ngOnInit() {
super.ngOnInit();
await super.ngOnInit();
super.successRoute = '/tabs/dashboard';
}