From 32e818af6a897f75e1dd25afb22eb6488e6c9508 Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Thu, 2 Jan 2020 16:09:06 +0100 Subject: [PATCH] Fix #1124 --- cps/templates/user_edit.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/templates/user_edit.html b/cps/templates/user_edit.html index cbd4f2e8..6cbc6a64 100644 --- a/cps/templates/user_edit.html +++ b/cps/templates/user_edit.html @@ -14,7 +14,7 @@ {% if ( g.user and g.user.role_passwd() or g.user.role_admin() ) and not content.role_anonymous() %} - {% if g.user and g.user.role_admin() and not new_user and not profile and ( mail_configured and content.email if content.email != None %} + {% if g.user and g.user.role_admin() and not new_user and not profile and ( mail_configured and content.email if content.email != None ) %}
{{_('Reset user Password')}}
{% endif %}