Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: improve description for remove mfa factors button (#34105)

Stojan Dimitrovski672cc26eab7e
diff --git a/apps/studio/components/interfaces/Auth/Users/UserOverview.tsx b/apps/studio/components/interfaces/Auth/Users/UserOverview.tsx
index 21ca6157310..d6d5b162be5 100644
--- a/apps/studio/components/interfaces/Auth/Users/UserOverview.tsx
+++ b/apps/studio/components/interfaces/Auth/Users/UserOverview.tsx
@@ -340,7 +340,7 @@ export const UserOverview = ({ user, onDeleteSuccess }: UserOverviewProps) => {
<div className={cn('flex flex-col -space-y-1 !pt-0', PANEL_PADDING)}>
<RowAction
title="Remove MFA factors"
- description="This will log the user out of all active sessions"
+ description="Removes all MFA factors associated with the user"
button={{
icon: <ShieldOff />,
text: 'Remove MFA factors',
@@ -409,12 +409,13 @@ export const UserOverview = ({ user, onDeleteSuccess }: UserOverviewProps) => {
onConfirm={() => handleDeleteFactors()}
alert={{
base: { variant: 'warning' },
- title: 'Removing MFA factors is irreversible',
- description: 'This will log the user out of all active sessions.',
+ title:
+ "Removing MFA factors will drop the user's authentication assurance level (AAL) to AAL1",
+ description: 'Note that this does not sign the user out',
}}
>
<p className="text-sm text-foreground-light">
- This is permanent! Are you sure you want to remove the MFA factors for the user{' '}
+ Are you sure you want to remove the MFA factors for the user{' '}
<span className="text-foreground">{user.email ?? user.phone ?? 'this user'}</span>?
</p>
</ConfirmationModal>