diff options
author | Drew Blessing <drew@blessing.io> | 2017-08-28 16:40:52 +0000 |
---|---|---|
committer | Drew Blessing <drew@blessing.io> | 2017-08-28 16:40:52 +0000 |
commit | b95b9169e93aacdfe216f6a1ef6b54f632c90756 (patch) | |
tree | f1dc984f3d704481857d916cc7109d47fab353f5 | |
parent | 3e0757f2d265e0ab3b13c5d27786ced901744c90 (diff) | |
download | gitlab-ce-fix_new_profile_password_nav.tar.gz |
New nav 'Password' item should use same method as old navfix_new_profile_password_nav
-rw-r--r-- | app/views/layouts/nav/_new_profile_sidebar.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/nav/_new_profile_sidebar.html.haml b/app/views/layouts/nav/_new_profile_sidebar.html.haml index 85b2c7630c8..db137453ccc 100644 --- a/app/views/layouts/nav/_new_profile_sidebar.html.haml +++ b/app/views/layouts/nav/_new_profile_sidebar.html.haml @@ -43,7 +43,7 @@ = custom_icon('emails') %span.nav-item-name Emails - - unless current_user.ldap_user? + - unless current_user.allow_password_authentication? = nav_link(controller: :passwords) do = link_to edit_profile_password_path, title: 'Password' do .nav-icon-container |