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'; }