diff options
author | mkanat%bugzilla.org <> | 2006-05-12 09:40:56 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-05-12 09:40:56 +0000 |
commit | d9cbb0f0a62bba345ed26ac68364bb441f41d35d (patch) | |
tree | 415d30523fb728a3192970a6d2b168b095f260dc /template/en/default/account/auth/login.html.tmpl | |
parent | d7447bf95827d7e9da681d496a192fffbc2810a4 (diff) | |
download | bugs-d9cbb0f0a62bba345ed26ac68364bb441f41d35d.tar bugs-d9cbb0f0a62bba345ed26ac68364bb441f41d35d.tar.gz bugs-d9cbb0f0a62bba345ed26ac68364bb441f41d35d.tar.bz2 bugs-d9cbb0f0a62bba345ed26ac68364bb441f41d35d.tar.xz bugs-d9cbb0f0a62bba345ed26ac68364bb441f41d35d.zip |
Bug 300410: Bugzilla::Auth needs to be restructured to not require a BEGIN block
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'template/en/default/account/auth/login.html.tmpl')
-rw-r--r-- | template/en/default/account/auth/login.html.tmpl | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/template/en/default/account/auth/login.html.tmpl b/template/en/default/account/auth/login.html.tmpl index d2c4950e4..adbae970a 100644 --- a/template/en/default/account/auth/login.html.tmpl +++ b/template/en/default/account/auth/login.html.tmpl @@ -22,7 +22,6 @@ [%# INTERFACE: # target: string. URL to go to after login. - # has_db: true if DB is one of the available authentication mechanisms #%] [% PROCESS global/variables.none.tmpl %] @@ -100,9 +99,7 @@ # their password, assuming that our auth method allows that. #%] -[% IF caneditaccount %] - - [% IF Param("createemailregexp") %] + [% IF Param("createemailregexp") && user.authorizer.user_can_create_account %] <hr> <p> @@ -111,10 +108,7 @@ </p> [% END %] - [%# For now, password change requests only apply to the DB - # verification method #%] - - [% IF has_db != 0 %] + [% IF user.authorizer.can_change_password %] <hr> <a name="forgot"></a> @@ -126,10 +120,6 @@ <input size="35" name="loginname"> <input type="submit" value="Submit Request"> </form> - [% END %] - <hr> -[% END %] - [% PROCESS global/footer.html.tmpl %] |