From 40ced9154e8b355ca1bc89212e3c4ab7298df0c2 Mon Sep 17 00:00:00 2001 From: Max Peintner Date: Fri, 18 Dec 2020 10:21:14 +0100 Subject: [PATCH] fix: bind type to u2f dialog component (#1119) --- .../auth-user-detail/auth-user-mfa/auth-user-mfa.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/console/src/app/pages/users/user-detail/auth-user-detail/auth-user-mfa/auth-user-mfa.component.ts b/console/src/app/pages/users/user-detail/auth-user-detail/auth-user-mfa/auth-user-mfa.component.ts index 2926ce8e22..972d7172ae 100644 --- a/console/src/app/pages/users/user-detail/auth-user-detail/auth-user-mfa/auth-user-mfa.component.ts +++ b/console/src/app/pages/users/user-detail/auth-user-detail/auth-user-mfa/auth-user-mfa.component.ts @@ -10,7 +10,7 @@ import { ToastService } from 'src/app/services/toast.service'; import { _base64ToArrayBuffer } from '../../u2f-util'; import { DialogOtpComponent } from '../dialog-otp/dialog-otp.component'; -import { DialogU2FComponent } from '../dialog-u2f/dialog-u2f.component'; +import { DialogU2FComponent, U2FComponentDestination } from '../dialog-u2f/dialog-u2f.component'; export interface WebAuthNOptions { challenge: string; @@ -93,6 +93,7 @@ export class AuthUserMfaComponent implements OnInit, OnDestroy { width: '400px', data: { credOptions, + type: U2FComponentDestination.MFA, }, });