aboutsummaryrefslogtreecommitdiffstats
path: root/token.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-05-12 09:40:56 +0000
committermkanat%bugzilla.org <>2006-05-12 09:40:56 +0000
commitd9cbb0f0a62bba345ed26ac68364bb441f41d35d (patch)
tree415d30523fb728a3192970a6d2b168b095f260dc /token.cgi
parentd7447bf95827d7e9da681d496a192fffbc2810a4 (diff)
downloadbugs-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 'token.cgi')
-rwxr-xr-xtoken.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/token.cgi b/token.cgi
index cbb502c67..bb253db60 100755
--- a/token.cgi
+++ b/token.cgi
@@ -104,7 +104,7 @@ if ( $::action eq 'reqpw' ) {
|| ThrowUserError("login_needed_for_password_change");
# check verification methods
- unless (Bugzilla::Auth->has_db) {
+ unless (Bugzilla->user->authorizer->can_change_password) {
ThrowUserError("password_change_requests_not_allowed");
}