mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 17:11:13 -05:00
Refactor: Update MFA terminology
This commit is contained in:
@@ -131,10 +131,10 @@ export function TOTPSetup() {
|
||||
}
|
||||
|
||||
handleSuccess(
|
||||
'TOTP Enabled',
|
||||
'Multi-Factor Authentication Enabled',
|
||||
isOAuthUser
|
||||
? 'Please verify with your authenticator code to continue.'
|
||||
: 'Please sign in again to activate MFA protection.'
|
||||
? 'Please verify with your authenticator app to continue.'
|
||||
: 'Please sign in again to activate Multi-Factor Authentication protection.'
|
||||
);
|
||||
|
||||
if (isOAuthUser) {
|
||||
@@ -249,7 +249,7 @@ export function TOTPSetup() {
|
||||
Cancel
|
||||
</Button>
|
||||
<Button onClick={verifyAndEnable} disabled={loading || !verificationCode.trim()}>
|
||||
{loading ? 'Verifying...' : 'Enable TOTP'}
|
||||
{loading ? 'Verifying...' : 'Enable Multi-Factor Authentication'}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -262,7 +262,7 @@ export function TOTPSetup() {
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<CardDescription>
|
||||
Add an extra layer of security to your account with two-factor authentication.
|
||||
Add an extra layer of security to your account with Multi-Factor Authentication.
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
@@ -271,7 +271,7 @@ export function TOTPSetup() {
|
||||
<Alert>
|
||||
<Shield className="w-4 h-4" />
|
||||
<AlertDescription>
|
||||
Two-factor authentication is enabled for your account. You'll be prompted for a verification code when signing in.
|
||||
Multi-Factor Authentication is enabled for your account. You'll be prompted for a code from your authenticator app when signing in.
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
|
||||
@@ -280,7 +280,7 @@ export function TOTPSetup() {
|
||||
<Alert variant="default" className="border-amber-200 dark:border-amber-800 bg-amber-50 dark:bg-amber-950">
|
||||
<AlertTriangle className="w-4 h-4 text-amber-600 dark:text-amber-400" />
|
||||
<AlertDescription className="text-amber-800 dark:text-amber-200">
|
||||
Your role requires MFA. You cannot disable two-factor authentication.
|
||||
Your role requires Multi-Factor Authentication. You cannot disable it.
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user