mirror of
https://github.com/logto-io/logto.git
synced 2025-03-24 22:41:28 -05:00
feat(phrases): add backup code phrases (#4686)
This commit is contained in:
parent
b972397f80
commit
4402141b0e
15 changed files with 87 additions and 0 deletions
|
@ -41,6 +41,12 @@ const session = {
|
|||
webauthn_verification_not_found: 'WebAuthn verification not found.',
|
||||
/** UNTRANSLATED */
|
||||
bind_mfa_existed: 'MFA already exists.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_can_not_be_alone: 'Backup code can not be the only MFA.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_required: 'Backup code is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_backup_code: 'Invalid backup code.',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -30,6 +30,9 @@ const session = {
|
|||
webauthn_verification_failed: 'WebAuthn verification failed.',
|
||||
webauthn_verification_not_found: 'WebAuthn verification not found.',
|
||||
bind_mfa_existed: 'MFA already exists.',
|
||||
backup_code_can_not_be_alone: 'Backup code can not be the only MFA.',
|
||||
backup_code_required: 'Backup code is required.',
|
||||
invalid_backup_code: 'Invalid backup code.',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -42,6 +42,12 @@ const session = {
|
|||
webauthn_verification_not_found: 'WebAuthn verification not found.',
|
||||
/** UNTRANSLATED */
|
||||
bind_mfa_existed: 'MFA already exists.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_can_not_be_alone: 'Backup code can not be the only MFA.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_required: 'Backup code is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_backup_code: 'Invalid backup code.',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -43,6 +43,12 @@ const session = {
|
|||
webauthn_verification_not_found: 'WebAuthn verification not found.',
|
||||
/** UNTRANSLATED */
|
||||
bind_mfa_existed: 'MFA already exists.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_can_not_be_alone: 'Backup code can not be the only MFA.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_required: 'Backup code is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_backup_code: 'Invalid backup code.',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -41,6 +41,12 @@ const session = {
|
|||
webauthn_verification_not_found: 'WebAuthn verification not found.',
|
||||
/** UNTRANSLATED */
|
||||
bind_mfa_existed: 'MFA already exists.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_can_not_be_alone: 'Backup code can not be the only MFA.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_required: 'Backup code is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_backup_code: 'Invalid backup code.',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -39,6 +39,12 @@ const session = {
|
|||
webauthn_verification_not_found: 'WebAuthn verification not found.',
|
||||
/** UNTRANSLATED */
|
||||
bind_mfa_existed: 'MFA already exists.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_can_not_be_alone: 'Backup code can not be the only MFA.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_required: 'Backup code is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_backup_code: 'Invalid backup code.',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -38,6 +38,12 @@ const session = {
|
|||
webauthn_verification_not_found: 'WebAuthn verification not found.',
|
||||
/** UNTRANSLATED */
|
||||
bind_mfa_existed: 'MFA already exists.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_can_not_be_alone: 'Backup code can not be the only MFA.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_required: 'Backup code is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_backup_code: 'Invalid backup code.',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -40,6 +40,12 @@ const session = {
|
|||
webauthn_verification_not_found: 'WebAuthn verification not found.',
|
||||
/** UNTRANSLATED */
|
||||
bind_mfa_existed: 'MFA already exists.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_can_not_be_alone: 'Backup code can not be the only MFA.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_required: 'Backup code is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_backup_code: 'Invalid backup code.',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -41,6 +41,12 @@ const session = {
|
|||
webauthn_verification_not_found: 'WebAuthn verification not found.',
|
||||
/** UNTRANSLATED */
|
||||
bind_mfa_existed: 'MFA already exists.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_can_not_be_alone: 'Backup code can not be the only MFA.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_required: 'Backup code is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_backup_code: 'Invalid backup code.',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -43,6 +43,12 @@ const session = {
|
|||
webauthn_verification_not_found: 'WebAuthn verification not found.',
|
||||
/** UNTRANSLATED */
|
||||
bind_mfa_existed: 'MFA already exists.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_can_not_be_alone: 'Backup code can not be the only MFA.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_required: 'Backup code is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_backup_code: 'Invalid backup code.',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -39,6 +39,12 @@ const session = {
|
|||
webauthn_verification_not_found: 'WebAuthn verification not found.',
|
||||
/** UNTRANSLATED */
|
||||
bind_mfa_existed: 'MFA already exists.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_can_not_be_alone: 'Backup code can not be the only MFA.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_required: 'Backup code is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_backup_code: 'Invalid backup code.',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -40,6 +40,12 @@ const session = {
|
|||
webauthn_verification_not_found: 'WebAuthn verification not found.',
|
||||
/** UNTRANSLATED */
|
||||
bind_mfa_existed: 'MFA already exists.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_can_not_be_alone: 'Backup code can not be the only MFA.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_required: 'Backup code is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_backup_code: 'Invalid backup code.',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -35,6 +35,12 @@ const session = {
|
|||
webauthn_verification_not_found: 'WebAuthn verification not found.',
|
||||
/** UNTRANSLATED */
|
||||
bind_mfa_existed: 'MFA already exists.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_can_not_be_alone: 'Backup code can not be the only MFA.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_required: 'Backup code is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_backup_code: 'Invalid backup code.',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -35,6 +35,12 @@ const session = {
|
|||
webauthn_verification_not_found: 'WebAuthn verification not found.',
|
||||
/** UNTRANSLATED */
|
||||
bind_mfa_existed: 'MFA already exists.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_can_not_be_alone: 'Backup code can not be the only MFA.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_required: 'Backup code is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_backup_code: 'Invalid backup code.',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -35,6 +35,12 @@ const session = {
|
|||
webauthn_verification_not_found: 'WebAuthn verification not found.',
|
||||
/** UNTRANSLATED */
|
||||
bind_mfa_existed: 'MFA already exists.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_can_not_be_alone: 'Backup code can not be the only MFA.',
|
||||
/** UNTRANSLATED */
|
||||
backup_code_required: 'Backup code is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_backup_code: 'Invalid backup code.',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue