1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-16 00:04:34 +00:00

routing with guards

This commit is contained in:
Kyle Spearrin
2018-04-25 12:30:27 -04:00
parent cafb7da93e
commit 48bde677bc
7 changed files with 65 additions and 7 deletions

View File

@@ -38,6 +38,7 @@ export class TwoFactorComponent extends BaseTwoFactorComponent {
private componentFactoryResolver: ComponentFactoryResolver) {
super(authService, router, analytics, toasterService, i18nService, apiService,
platformUtilsService, window, environmentService);
super.successRoute = '/dashboard';
}
anotherMethod() {