Merge pull request #3625 from Roardom/two-step-factor

(Update) Rename `Two-Step` to `Two-Factor`
This commit is contained in:
HDVinnie
2024-03-06 18:36:09 -05:00
committed by GitHub
3 changed files with 4 additions and 4 deletions
@@ -66,7 +66,7 @@ class InviteController extends Controller
if ($user->two_factor_confirmed_at === null) {
return to_route('home.index')
->withErrors('Two-step authentication must be enabled to send invites');
->withErrors('Two-factor authentication must be enabled to send invites');
}
return view('user.invite.create', ['user' => $user]);
@@ -93,7 +93,7 @@ class InviteController extends Controller
if ($user->two_factor_confirmed_at === null) {
return to_route('home.index')
->withErrors('Two-step authentication must be enabled to send invites');
->withErrors('Two-factor authentication must be enabled to send invites');
}
$request->validate([
+1 -1
View File
@@ -39,7 +39,7 @@ return [
'delete-profile' => 'Delete Last Profile Link',
'email' => 'E-mail',
'email-verification-link' => 'An email verification link has been emailed to you!',
'enter-recovery' => 'Please enter one of the recovery codes provided to you when first enabling two-step authentication.',
'enter-recovery' => 'Please enter one of the recovery codes provided to you when first enabling two-factor authentication.',
'enter-totp' => 'Please enter the 6-digit authentication code generated by your app.',
'failed' => 'These credentials do not match our records.',
'invalid-key' => 'Invalid or Expired Invite Key!',
+1 -1
View File
@@ -374,7 +374,7 @@ return [
'total-upload' => 'Total Upload',
'total-uploads' => 'Total Uploads',
'two-step-auth' => [
'title' => 'Two-Step Authentication',
'title' => 'Two-Factor Authentication',
'totp' => 'Time-based One-time Password (TOTP) Authentication',
'email' => 'Email Authentication',
'totp-is-enabled' => 'TOTP Authentication is currently enabled. To disable it, please click the \'Disable\' button below.',