Commit 0f84a2f8 authored by Robert Speicher's avatar Robert Speicher

Merge branch '300269_add_note_about_public_field' into 'master'

Add note about SSH key title being public information

See merge request gitlab-org/gitlab!59726
parents 8d18d966 6a0843f3
......@@ -10,7 +10,7 @@
.col.form-group
= 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')
%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
= 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
......@@ -24356,7 +24356,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."
msgstr ""
msgid "Profiles|Give your individual key a title."
msgid "Profiles|Give your individual key a title. This will be publicly visible."
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."
......
......@@ -29,7 +29,7 @@ RSpec.describe 'profiles/keys/_form.html.haml' 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_text('Give your individual key a title.')
expect(rendered).to have_text('Give your individual key a title. This will be publicly visible.')
end
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