From d9554d483ca0177006000039b5bfdea745a318a9 Mon Sep 17 00:00:00 2001 From: Ramon Date: Wed, 3 Sep 2025 09:33:04 +0200 Subject: [PATCH] fix(console): Display MFA Name and Type correctly (#10586) # Which Problems Are Solved On the user detail page the mfa names and types where not displayed correctly. # How the Problems Are Solved Switched to our internal TypeSafeCellDef and correctly parse the @zitadel/proto types. # Additional Context - Closes #10493 Co-authored-by: Max Peintner --- .../auth-user-mfa.component.html | 24 +++++++++---------- .../auth-user-mfa/auth-user-mfa.component.ts | 15 ++++++++---- .../users/user-detail/user-detail.module.ts | 7 +++--- 3 files changed, 27 insertions(+), 19 deletions(-) diff --git a/console/src/app/pages/users/user-detail/auth-user-detail/auth-user-mfa/auth-user-mfa.component.html b/console/src/app/pages/users/user-detail/auth-user-detail/auth-user-mfa/auth-user-mfa.component.html index 5e4b8065e..a3011bedd 100644 --- a/console/src/app/pages/users/user-detail/auth-user-detail/auth-user-mfa/auth-user-mfa.component.html +++ b/console/src/app/pages/users/user-detail/auth-user-detail/auth-user-mfa/auth-user-mfa.component.html @@ -27,32 +27,32 @@ - - - -
{{ 'USER.MFA.TABLETYPE' | translate }} - TOTP (Time-based One-Time Password) - U2F (Universal 2nd Factor) - One-Time Password SMS - One-Time Password Email + + TOTP (Time-based One-Time Password) + U2F (Universal 2nd Factor) + One-Time Password SMS + One-Time Password Email {{ 'USER.MFA.NAME' | translate }} - - {{ mfa.u2f.name }} + + + {{ name }} {{ 'USER.MFA.TABLESTATE' | translate }} + {{ 'USER.MFA.STATE.' + mfa.state | translate }} @@ -62,7 +62,7 @@ +