From 6d0651a1cb2fd140bc85078e0d16e3ff66130df2 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 18 Jul 2018 17:20:35 -0400 Subject: [PATCH] move org id to base class --- src/app/organizations/settings/two-factor-setup.component.ts | 2 -- src/app/settings/two-factor-setup.component.ts | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/organizations/settings/two-factor-setup.component.ts b/src/app/organizations/settings/two-factor-setup.component.ts index 9ea0bef54f..65342facb0 100644 --- a/src/app/organizations/settings/two-factor-setup.component.ts +++ b/src/app/organizations/settings/two-factor-setup.component.ts @@ -18,8 +18,6 @@ import { TwoFactorSetupComponent as BaseTwoFactorSetupComponent } from '../../se templateUrl: '../../settings/two-factor-setup.component.html', }) export class TwoFactorSetupComponent extends BaseTwoFactorSetupComponent { - organizationId: string; - constructor(apiService: ApiService, tokenService: TokenService, componentFactoryResolver: ComponentFactoryResolver, messagingService: MessagingService, private route: ActivatedRoute) { diff --git a/src/app/settings/two-factor-setup.component.ts b/src/app/settings/two-factor-setup.component.ts index aeb2615eba..e16c1ca72a 100644 --- a/src/app/settings/two-factor-setup.component.ts +++ b/src/app/settings/two-factor-setup.component.ts @@ -36,6 +36,7 @@ export class TwoFactorSetupComponent implements OnInit { @ViewChild('duoTemplate', { read: ViewContainerRef }) duoModalRef: ViewContainerRef; @ViewChild('emailTemplate', { read: ViewContainerRef }) emailModalRef: ViewContainerRef; + organizationId: string; providers: any[] = []; premium: boolean; loading = true;