Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix staff security labels

Manav Rathi8711672bcac5
diff --git a/infra/staff/src/components/UserDetails.tsx b/infra/staff/src/components/UserDetails.tsx
index 0b3bf2b8b0..0ab4b82612 100644
--- a/infra/staff/src/components/UserDetails.tsx
+++ b/infra/staff/src/components/UserDetails.tsx
@@ -367,7 +367,7 @@ const renderTableCellContent = (
}}
>
<Typography sx={{ marginRight: "1px" }}>
- {enabledLabel(row.enabled)}
+ {enabledLabel(securityControls.twoFactorEnabled)}
</Typography>
{row.enabled && (
<Switch
@@ -411,7 +411,7 @@ const renderTableCellContent = (
}}
>
<Typography sx={{ marginRight: "1px" }}>
- {enabledLabel(row.enabled)}
+ {enabledLabel(securityControls.emailMFAEnabled)}
</Typography>
{securityControls.canDisableEmailMFA && (
<Switch