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:
@@ -39,7 +39,7 @@ export class TwoFactorComponent extends BaseTwoFactorComponent {
|
||||
}
|
||||
|
||||
async ngOnInit() {
|
||||
super.ngOnInit();
|
||||
await super.ngOnInit();
|
||||
super.successRoute = '/tabs/dashboard';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user