summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorIngo Blechschmidt <iblech@web.de>2016-06-01 11:54:42 +0200
committerIngo Blechschmidt <iblech@web.de>2016-07-09 15:24:56 +0200
commitc65e4af87e8e58996943ff98d71947fd45d6b2c7 (patch)
tree9350b8caef2bc268ff7327d041b39492f8ad4fb0 /app/views
parent440345bd977caac1b604085feca4b46b4c1eea01 (diff)
downloadgitlab-ce-c65e4af87e8e58996943ff98d71947fd45d6b2c7.tar.gz
Add reminder to not paste private SSH keys
Diffstat (limited to 'app/views')
-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