diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-13 15:33:28 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-13 16:44:42 +0300 |
commit | 25e44d05300a6b5b35232b27b4ccb27f47f09a67 (patch) | |
tree | f46c5753255cae37b492a988ffffd9d1dd4d1f6d /app/views/shared/_no_ssh.html.haml | |
parent | 529188e4788991961796b1b6131389072ee61efb (diff) |
Allow users that signed up via OAuth to set their password in order to use Git over HTTP(S).
Diffstat (limited to 'app/views/shared/_no_ssh.html.haml')
-rw-r--r-- | app/views/shared/_no_ssh.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_no_ssh.html.haml b/app/views/shared/_no_ssh.html.haml index 8e6f802fd3b..1a2946baccb 100644 --- a/app/views/shared/_no_ssh.html.haml +++ b/app/views/shared/_no_ssh.html.haml @@ -1,4 +1,4 @@ -- if cookies[:hide_no_ssh_message].blank? && current_user.require_ssh_key? && !current_user.hide_no_ssh_key +- if cookies[:hide_no_ssh_message].blank? && !current_user.hide_no_ssh_key && current_user.require_ssh_key? .no-ssh-key-message.alert.alert-warning.hidden-xs You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', new_profile_key_path} to your profile |