Commit 6a0843f3 authored by Vasilii Iakliushin's avatar Vasilii Iakliushin

Add note about SSH key title being public information

Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/300269
parent b5962d43
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
.col.form-group .col.form-group
= f.label :title, _('Title'), class: 'label-bold' = f.label :title, _('Title'), class: 'label-bold'
= f.text_field :title, class: "form-control gl-form-input input-lg qa-key-title-field", required: true, placeholder: s_('Profiles|e.g. My MacBook key') = f.text_field :title, class: "form-control gl-form-input input-lg qa-key-title-field", required: true, placeholder: s_('Profiles|e.g. My MacBook key')
%p.form-text.text-muted= s_('Profiles|Give your individual key a title.') %p.form-text.text-muted= s_('Profiles|Give your individual key a title. This will be publicly visible.')
.col.form-group .col.form-group
= f.label :expires_at, s_('Profiles|Expires at'), class: 'label-bold' = f.label :expires_at, s_('Profiles|Expires at'), class: 'label-bold'
......
---
title: Add note about SSH key title being public information
merge_request: 59726
author:
type: added
...@@ -24290,7 +24290,7 @@ msgstr "" ...@@ -24290,7 +24290,7 @@ msgstr ""
msgid "Profiles|GitLab is unable to verify your identity automatically. For security purposes, you must set a password by %{openingTag}resetting your password%{closingTag} to delete your account." msgid "Profiles|GitLab is unable to verify your identity automatically. For security purposes, you must set a password by %{openingTag}resetting your password%{closingTag} to delete your account."
msgstr "" msgstr ""
msgid "Profiles|Give your individual key a title." msgid "Profiles|Give your individual key a title. This will be publicly visible."
msgstr "" msgstr ""
msgid "Profiles|If after setting a password, the option to delete your account is still not available, please email %{data_request} to begin the account deletion process." msgid "Profiles|If after setting a password, the option to delete your account is still not available, please email %{data_request} to begin the account deletion process."
......
...@@ -29,7 +29,7 @@ RSpec.describe 'profiles/keys/_form.html.haml' do ...@@ -29,7 +29,7 @@ RSpec.describe 'profiles/keys/_form.html.haml' do
it 'has the title field', :aggregate_failures do it 'has the title field', :aggregate_failures do
expect(rendered).to have_field('Title', type: 'text', placeholder: 'e.g. My MacBook key') expect(rendered).to have_field('Title', type: 'text', placeholder: 'e.g. My MacBook key')
expect(rendered).to have_text('Give your individual key a title.') expect(rendered).to have_text('Give your individual key a title. This will be publicly visible.')
end end
it 'has the expires at field', :aggregate_failures do it 'has the expires at field', :aggregate_failures do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment