mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-29 00:47:06 -05:00
Refactor: Update MFA terminology
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user