From 031f32ca99ce6c78ca004fc2ee17cb1dcc0a0a10 Mon Sep 17 00:00:00 2001 From: Drew Blessing Date: Mon, 28 Aug 2017 16:42:19 +0000 Subject: New 'Password' profile nav option should use same conditional 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..2daa400f2d2 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? + - if 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