From 14b9b201e14d3939e9e3afc912686ce048dd37e0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 5 Nov 2013 11:18:44 +0100 Subject: [PATCH] Don't show a password reset button for Persona accounts --- src/root/user.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/root/user.tt b/src/root/user.tt index edd279a3..781500aa 100644 --- a/src/root/user.tt +++ b/src/root/user.tt @@ -73,7 +73,7 @@
- [% INCLUDE roleoption role="admin" %] [% INCLUDE roleoption role="create-project" %] @@ -101,7 +101,7 @@ [%IF create %]Create[% ELSE %]Apply changes[% END %] - [% IF !create && c.check_user_roles('admin') %] + [% IF !create && c.check_user_roles('admin') && user.password != '!' %]