From cd00796d216adf82d18ed3b3a6bbcaa7b99b4619 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 11 Mar 2015 17:15:33 +0100 Subject: Bug 325315: The page to reset a forgotten password should be distinct from the login page r=dkl a=glob --- template/en/default/account/auth/login.html.tmpl | 105 ++++++++++++----------- 1 file changed, 54 insertions(+), 51 deletions(-) (limited to 'template/en/default/account/auth/login.html.tmpl') diff --git a/template/en/default/account/auth/login.html.tmpl b/template/en/default/account/auth/login.html.tmpl index 0af84542d..85b3be8fb 100644 --- a/template/en/default/account/auth/login.html.tmpl +++ b/template/en/default/account/auth/login.html.tmpl @@ -20,12 +20,12 @@ [% USE Bugzilla %] -

- [% terms.Bugzilla %] needs a legitimate login and password to continue. -

+

+ [% terms.Bugzilla %] needs a legitimate login and password to continue +

-
+ + [% IF Param('rememberlogin') == 'defaulton' || Param('rememberlogin') == 'defaultoff' %] - - + [% END %] - - + + + + + +
@@ -33,44 +33,54 @@ [% IF Param('emailsuffix') %] Login: [% ELSE %] - Your Email Address: + Email Address: [% END %] - [% Param('emailsuffix') FILTER html %]
- +
  + - + +
  + +
  + +
[% PROCESS "global/hidden-fields.html.tmpl" @@ -78,49 +88,42 @@ - -

- (Note: you should make sure cookies are enabled for this site. - Otherwise, you will be required to log in frequently.) -

-
- -[% Hook.process('additional_methods') %] + [% Hook.process('additional_methods') %] -[%# Allow the user to create a new account, or request a token to change - # their password, assuming that our auth method allows that. - #%] + +
+

- If you don't have a [% terms.Bugzilla %] account, you can - create a new account. - [% IF Param("requirelogin") %] - A user account is required because this Bugzilla - installation is only accessible to authenticated users. - [% ELSIF target.match("_bug\.cgi$") %] - A user account is required to file a new [% terms.bug %] or to comment - into existing ones so that you can be contacted if more information is - needed. - [% END %] + Note: you should make sure cookies are enabled for this site. + Otherwise, you will be required to log in frequently.

- [% END %] - - [% IF user.authorizer.can_change_password %] -
- -
- - If you have an account, but have forgotten your password, - enter your login name below and submit a request - to change your password.
- - - -
- [% END %] + + [% IF can_create_account %] +

+ [% IF Param("requirelogin") %] + A user account is required because this Bugzilla + installation is only accessible to authenticated users. + [% ELSIF target.match("_bug\.cgi$") %] + A user account is required to file a new [% terms.bug %] or to comment + into existing ones so that you can be contacted if more information is + needed. + [% END %] +

+ [% END %] +
+ [% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b