From b95b9169e93aacdfe216f6a1ef6b54f632c90756 Mon Sep 17 00:00:00 2001 From: Drew Blessing Date: Mon, 28 Aug 2017 16:40:52 +0000 Subject: New nav 'Password' item should use same method as old nav --- app/views/layouts/nav/_new_profile_sidebar.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1