From: Lisset Cuevas Date: Wed, 8 Apr 2020 20:06:32 +0000 (-0500) Subject: Bug 1202669 - UX correction for change password and email X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=07ece2b6167c868ad8e3085a432a895193af5a36;p=thirdparty%2Fbugzilla.git Bug 1202669 - UX correction for change password and email --- diff --git a/template/en/default/account/prefs/account.html.tmpl b/template/en/default/account/prefs/account.html.tmpl index 023d4890d..43536d6c7 100644 --- a/template/en/default/account/prefs/account.html.tmpl +++ b/template/en/default/account/prefs/account.html.tmpl @@ -42,12 +42,12 @@ [% Hook.process('field') %] [% SET can_change = [] %] - [% IF user.authorizer.can_change_password %] - [% can_change.push('password') %] - [% END %] [% IF user.authorizer.can_change_email && Param('allowemailchange') %] [% can_change.push('email address') %] [% END %] + [% IF user.authorizer.can_change_password %] + [% can_change.push('password') %] + [% END %] [% IF can_change.size %] @@ -61,42 +61,6 @@ changes. - - Current password: - - - - I forgot my password - - - [% IF user.authorizer.can_change_password %] - -   - - [% Param('passwdqc_desc') FILTER html_light %] - - - -   - - Warning: Changing your password will automatically log out - other login sessions except for the current one. - - - - New password: - - - [% INCLUDE "mfa/protected.html.tmpl" %] - - - - Confirm new password: - - - - - [% END %] [% IF user.authorizer.can_change_email && Param('allowemailchange') %] [% IF login_change_date %] @@ -129,6 +93,43 @@ [% END %] [% END %] + + + Current password: + + + + I forgot my password + + + [% IF user.authorizer.can_change_password %] + +   + + Warning: Changing your password will automatically log out + other login sessions except for the current one. + + + + New password: + + + [% INCLUDE "mfa/protected.html.tmpl" %] + + + +   + + [% Param('passwdqc_desc') FILTER html_light %] + + + + Confirm new password: + + + + + [% END %]