diff --git a/app/views/settings/two_factor_authentication/webauthn_credentials/new.html.haml b/app/views/settings/two_factor_authentication/webauthn_credentials/new.html.haml index 9c3e96d688..af9bf1571e 100644 --- a/app/views/settings/two_factor_authentication/webauthn_credentials/new.html.haml +++ b/app/views/settings/two_factor_authentication/webauthn_credentials/new.html.haml @@ -8,7 +8,12 @@ %p.hint= t('webauthn_credentials.description_html') .fields_group - = f.input :nickname, wrapper: :with_block_label, hint: t('webauthn_credentials.nickname_hint'), input_html: { autocomplete: 'off' }, required: true + = f.input :nickname, + wrapper: :with_block_label, + label: t('webauthn_credentials.nickname'), + hint: t('webauthn_credentials.nickname_hint'), + input_html: { autocomplete: 'off' }, + required: true .actions = f.button :button, t('webauthn_credentials.add'), class: 'js-webauthn', type: :submit diff --git a/config/locales/en.yml b/config/locales/en.yml index ffa5ec6cf2..d7dcdf4cc5 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2191,6 +2191,7 @@ en: error: There was a problem deleting you security key. Please try again. success: Your security key was successfully deleted. invalid_credential: Invalid security key + nickname: Nickname nickname_hint: Enter the nickname of your new security key not_enabled: You haven't enabled WebAuthn yet not_supported: This browser doesn't support security keys