Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Blechschmidt <iblech@web.de>2016-06-01 12:54:42 +0300
committerIngo Blechschmidt <iblech@web.de>2016-07-09 16:24:56 +0300
commitc65e4af87e8e58996943ff98d71947fd45d6b2c7 (patch)
tree9350b8caef2bc268ff7327d041b39492f8ad4fb0 /app/views/profiles/keys/_form.html.haml
parent440345bd977caac1b604085feca4b46b4c1eea01 (diff)
Add reminder to not paste private SSH keys
Diffstat (limited to 'app/views/profiles/keys/_form.html.haml')
-rw-r--r--app/views/profiles/keys/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/profiles/keys/_form.html.haml b/app/views/profiles/keys/_form.html.haml
index b3ed59a1a4a..6ea358d9f63 100644
--- a/app/views/profiles/keys/_form.html.haml
+++ b/app/views/profiles/keys/_form.html.haml
@@ -4,7 +4,7 @@
.form-group
= f.label :key, class: 'label-light'
- = f.text_area :key, class: "form-control", rows: 8, required: true
+ = f.text_area :key, class: "form-control", rows: 8, required: true, placeholder: "Don't paste the private part of the SSH key. Paste the public part, which is usually contained in the file '~/.ssh/id_rsa.pub' and begins with 'ssh-rsa'."
.form-group
= f.label :title, class: 'label-light'
= f.text_field :title, class: "form-control", required: true