added 2FA
This commit is contained in:
@@ -45,17 +45,20 @@ export default {
|
||||
missing_token: 'Missing token!',
|
||||
invalid_token: 'Invalid token!',
|
||||
expired_token: 'Token has expired!',
|
||||
invalid_code: 'Invalid code!',
|
||||
expired_code: 'Code has expired!',
|
||||
},
|
||||
},
|
||||
email: {
|
||||
success: {
|
||||
confirmation_email_sent: 'Confirmation email sent!',
|
||||
reset_email_sent: 'A password reset letter has been sent to the specified email address!',
|
||||
_2FA_email_sent: '2FA email sent!',
|
||||
},
|
||||
error: {
|
||||
verification_email_sending_error: 'Could not send verification email!',
|
||||
reset_password_sending_error: 'Could not send reset password email!',
|
||||
|
||||
_2FA_email_sending_error: 'Could not send 2FA email!',
|
||||
},
|
||||
},
|
||||
} as const
|
||||
@@ -5,6 +5,11 @@ export default {
|
||||
confirm_password: 'Confirm password',
|
||||
login: 'Login',
|
||||
name: 'Name',
|
||||
two_factor: 'Two Factor Authentication Code',
|
||||
},
|
||||
button: {
|
||||
two_factor: 'Confirm',
|
||||
login: 'Login',
|
||||
},
|
||||
placeholder: {
|
||||
email: 'dead.end@acme.com',
|
||||
|
||||
@@ -15,4 +15,7 @@ export default {
|
||||
name: {
|
||||
required: `Name is required`,
|
||||
},
|
||||
two_factor: {
|
||||
length: 'Code must contain exactly {length} digits',
|
||||
},
|
||||
} as const
|
||||
Reference in New Issue
Block a user