summaryrefslogtreecommitdiff
path: root/app/views/layouts/nav/_profile.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/nav/_profile.html.haml')
-rw-r--r--app/views/layouts/nav/_profile.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/nav/_profile.html.haml b/app/views/layouts/nav/_profile.html.haml
index 26d9640e98a..17f85339870 100644
--- a/app/views/layouts/nav/_profile.html.haml
+++ b/app/views/layouts/nav/_profile.html.haml
@@ -29,7 +29,7 @@
= link_to profile_emails_path, title: 'Emails' do
%span
Emails
- - if current_user.allow_password_authentication?
+ - if current_user.ldap_user?
= nav_link(controller: :passwords) do
= link_to edit_profile_password_path, title: 'Password' do
%span