]> git.ipfire.org Git - thirdparty/bugzilla.git/commit
Fix and use use_login_page for the BlockIP pre-rendered page (#79)
authorVladimir Panteleev <CyberShadow@users.noreply.github.com>
Sat, 13 Feb 2021 17:25:21 +0000 (17:25 +0000)
committerGitHub <noreply@github.com>
Sat, 13 Feb 2021 17:25:21 +0000 (12:25 -0500)
commit206067607eea58ef6572cd3198b9bb3a41f12de6
treec76f7b0df157e3fa89cd078ffbcefa4c7f2989ce
parentd10bbddfb78e9ef186b555c43178bf9ffe136f4e
Fix and use use_login_page for the BlockIP pre-rendered page (#79)

* template/en/default: Fix use_login_page

The implementation fell off in
2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99.

* template/en/default/global/ip-blocked.html.tmpl: Use use_login_page

This fixes the warning "Use of uninitialized value $args[1] in join or
string at .../Bugzilla/Token.pm line 270", and removes the
likely-broken mini login form on the "IP blocked" page.

* index.cgi: Disable use_login_page for the front page

This seems to be only useful for very high-traffic
installations (BMO).

Co-authored-by: Dylan Hardison <dylan@hardison.net>
index.cgi
template/en/default/account/auth/login-small.html.tmpl
template/en/default/global/header.html.tmpl
template/en/default/global/ip-blocked.html.tmpl