diff --git a/jslib b/jslib index f673bd62d7..013bf20a35 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit f673bd62d7abb773fa5a6abfb5307b7c3feca59b +Subproject commit 013bf20a35c74383389337ac2c5ae9ac19a0bba7 diff --git a/src/app/accounts/two-factor.component.ts b/src/app/accounts/two-factor.component.ts index 670646b70b..fd2d06f5f7 100644 --- a/src/app/accounts/two-factor.component.ts +++ b/src/app/accounts/two-factor.component.ts @@ -20,6 +20,7 @@ import { TwoFactorProviderType } from 'jslib/enums/twoFactorProviderType'; import { ApiService } from 'jslib/abstractions/api.service'; import { AuthService } from 'jslib/abstractions/auth.service'; +import { EnvironmentService } from 'jslib/services/environment.service'; import { I18nService } from 'jslib/abstractions/i18n.service'; import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service'; import { SyncService } from 'jslib/abstractions/sync.service'; @@ -37,9 +38,9 @@ export class TwoFactorComponent extends BaseTwoFactorComponent { analytics: Angulartics2, toasterService: ToasterService, i18nService: I18nService, apiService: ApiService, platformUtilsService: PlatformUtilsService, syncService: SyncService, - private componentFactoryResolver: ComponentFactoryResolver) { + environmentService: EnvironmentService, private componentFactoryResolver: ComponentFactoryResolver) { super(authService, router, analytics, toasterService, i18nService, apiService, - platformUtilsService, syncService); + platformUtilsService, syncService, window, environmentService); } anotherMethod() {