Refactor: Update MFA terminology

This commit is contained in:
gpt-engineer-app[bot]
2025-11-02 18:27:11 +00:00
parent b443d63f00
commit 15b644e45a
7 changed files with 30 additions and 30 deletions

View File

@@ -30,18 +30,18 @@ export function MFARequiredAlert() {
return (
<Alert variant="destructive" className="my-4">
<Shield className="h-4 w-4" />
<AlertTitle>Two-Factor Authentication Required</AlertTitle>
<AlertTitle>Multi-Factor Authentication Required</AlertTitle>
<AlertDescription className="mt-2 space-y-3">
<p>
{needsVerification
? 'Please verify your identity with two-factor authentication to access this area.'
: 'Your role requires two-factor authentication to access this area.'}
? 'Please verify your identity with Multi-Factor Authentication to access this area.'
: 'Your role requires Multi-Factor Authentication to access this area.'}
</p>
<Button
onClick={handleAction}
size="sm"
>
{needsVerification ? 'Verify Now' : 'Set up MFA'}
{needsVerification ? 'Verify Now' : 'Set up Multi-Factor Authentication'}
</Button>
</AlertDescription>
</Alert>