feat: Implement Two-Factor Authentication (2FA) with new OTP and login forms, updated API endpoints, and manager functionality to disable 2FA.
This commit is contained in:
@@ -17,4 +17,28 @@ export default {
|
||||
'master.profile.change-password.fail': 'Change password failed',
|
||||
'master.profile.change-password.password.strong':
|
||||
'A password contains at least 8 characters, including at least one number and includes both lower and uppercase letters and special characters, for example #, ?, !',
|
||||
'master.profile.2fa.status': '2FA Status',
|
||||
'master.profile.2fa.description':
|
||||
'Enable two-step verification to enhance the security of your account',
|
||||
'master.profile.2fa.enabled': 'Enabled',
|
||||
'master.profile.2fa.disabled': 'Disabled',
|
||||
'master.profile.2fa.setup.title': 'Set up two-step verification',
|
||||
'master.profile.2fa.verify': 'Confirm',
|
||||
'master.profile.2fa.cancel': 'Cancel',
|
||||
'master.profile.2fa.scan.instruction':
|
||||
'Scan the QR code with an authentication app (Google Authenticator, Authy, ...)',
|
||||
'master.profile.2fa.otp.instruction':
|
||||
'Enter the 6-digit code from the authentication app:',
|
||||
'master.profile.2fa.enable.error': 'Unable to enable 2FA. Please try again.',
|
||||
'master.profile.2fa.otp.invalid': 'Please enter a 6-digit OTP code',
|
||||
'master.profile.2fa.enable.success': '2FA enabled successfully!',
|
||||
'master.profile.2fa.verify.error': 'Invalid OTP code. Please try again.',
|
||||
'master.profile.2fa.disable.confirm.title': 'Confirm disable 2FA',
|
||||
'master.profile.2fa.disable.confirm.content':
|
||||
'Are you sure you want to disable two-step verification? This will reduce the security of your account.',
|
||||
'master.profile.2fa.disable.confirm.ok': 'Disable 2FA',
|
||||
'master.profile.2fa.disable.confirm.cancel': 'Cancel',
|
||||
'master.profile.2fa.disable.success': '2FA disabled successfully!',
|
||||
'master.profile.2fa.disable.error':
|
||||
'Unable to disable 2FA. Please try again.',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user