From 2bb68583b136cd06e183a0dba8b947e802bce3d2 Mon Sep 17 00:00:00 2001
From: Chris Lawton <chris.lawton@torchbox.com>
Date: Tue, 7 Aug 2018 10:53:16 +0100
Subject: [PATCH] uncomment change password logic

---
 opentech/apply/users/templates/users/account.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/opentech/apply/users/templates/users/account.html b/opentech/apply/users/templates/users/account.html
index 1d4a5111e..745edac73 100644
--- a/opentech/apply/users/templates/users/account.html
+++ b/opentech/apply/users/templates/users/account.html
@@ -23,12 +23,12 @@
     </form>
 </section>
 
-{# {% if show_change_password and user.has_usable_password and not backends.associated %} #}
+{% if show_change_password and user.has_usable_password and not backends.associated %}
     <section class="section section--profile">
         <h3>Change password</h3>
         <a class="button button--primary" href="{% url 'users:password_change' %}">{% trans "Update password" %}</a>
     </section>
-{# {% endif %} #}
+{% endif %}
 
 <section class="section section--profile">
     {% if swappable %}
-- 
GitLab