mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 20:35:07 +03:00
fix: improve description for remove mfa factors button (#34105)
* fix: improve description for remove mfa factors button * Update copy --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
This commit is contained in:
1 parent
7710e54873
commit
672cc26eab
1 file changed
+5
-4
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user