From f2137c02f7da4911adac1299a7cda36773989284 Mon Sep 17 00:00:00 2001 From: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com> Date: Wed, 9 Sep 2020 09:22:54 -0500 Subject: [PATCH] Adjusted new success route (#65) --- src/app/accounts/two-factor.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/accounts/two-factor.component.ts b/src/app/accounts/two-factor.component.ts index c7b1e7d6..b71ec3b7 100644 --- a/src/app/accounts/two-factor.component.ts +++ b/src/app/accounts/two-factor.component.ts @@ -36,6 +36,10 @@ export class TwoFactorComponent extends BaseTwoFactorComponent { storageService: StorageService) { super(authService, router, i18nService, apiService, platformUtilsService, window, environmentService, stateService, storageService); + } + + async ngOnInit() { + super.ngOnInit(); super.successRoute = '/tabs/dashboard'; }