mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-10-31 21:26:52 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			49 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| return [
 | |
|     'title' => 'Account Overview',
 | |
|     'email' => [
 | |
|         'title' => 'Update Email Address',
 | |
|         'button' => 'Update Email',
 | |
|         'updated' => 'Your primary email has been updated.',
 | |
|     ],
 | |
|     'password' => [
 | |
|         'title' => 'Update Password',
 | |
|         'button' => 'Update Password',
 | |
|         'requirements' => 'Your new password should be at least 8 characters in length and unique to this website.',
 | |
|         'validation' => [
 | |
|             'account_password' => 'You must provide your account password.',
 | |
|             'current_password' => 'You must provide your current password.',
 | |
|             'password_confirmation' => 'Password confirmation does not match the password you entered.',
 | |
|         ],
 | |
|         'updated' => 'Your password has been updated.',
 | |
|     ],
 | |
|     'two_factor' => [
 | |
|         'title' => 'Two-Step Verification',
 | |
|         'button' => 'Configure 2-Factor Authentication',
 | |
|         'disabled' => 'Two-factor authentication has been disabled on your account. You will no longer be prompted to provide a token when logging in.',
 | |
|         'enabled' => 'Two-factor authentication has been enabled on your account! From now on, when logging in, you will be required to provide the code generated by your device.',
 | |
|         'invalid' => 'The token provided was invalid.',
 | |
|         'enable' => [
 | |
|             'help' => 'You do not currently have two-step verification enabled on your account. Click the button below to begin configuring it.',
 | |
|             'button' => 'Enable Two-Step',
 | |
|         ],
 | |
|         'disable' => [
 | |
|             'help' => 'Two-step verification is currently enabled on your account.',
 | |
|             'title' => 'Disable two-factor authentication',
 | |
|             'field' => 'Enter token',
 | |
|             'button' => 'Disable Two-Step',
 | |
|         ],
 | |
|         'setup' => [
 | |
|             'title' => 'Enable Two-Step Verification',
 | |
|             'subtitle' => "Help protect your account from unauthorized access. You'll be prompted for a verification code each time you sign in.",
 | |
|             'help' => 'Scan the QR code above using the two-step authentication app of your choice. Then, enter the 6-digit code generated into the field below.',
 | |
|         ],
 | |
| 
 | |
|         'required' => [
 | |
|             'title' => '2-Factor Required',
 | |
|             'description' => 'Your account must have two-factor authentication enabled in order to continue.',
 | |
|         ],
 | |
|     ],
 | |
| ];
 | 
