summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Fearn <jfearn@redhat.com>2021-04-14 13:34:01 +1000
committerJeff Fearn <jfearn@redhat.com>2021-04-14 13:34:01 +1000
commit6a02e30268501702a277ecae30dd3c154a26a652 (patch)
treecff0dacbdd2e3a6e61db720d3d2bd3fddf67abbf /token.cgi
parentBug 1948338 - Move from Radius to PrivacyIDEA (diff)
downloadbugzilla-6a02e30268501702a277ecae30dd3c154a26a652.tar.gz
bugzilla-6a02e30268501702a277ecae30dd3c154a26a652.tar.bz2
bugzilla-6a02e30268501702a277ecae30dd3c154a26a652.zip
Bug 1932156 - Support creation of bot accounts
Add workflow to create bot accounts. Change-Id: Ie34993430b492d1f49e9e284cb694abc54d1edb6
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 5bc8e96ec..a543e5229 100755
--- a/token.cgi
+++ b/token.cgi
@@ -116,7 +116,7 @@ exit;
sub requestChangePassword {
# check verification methods
- Bugzilla->user->authorizer->can_change_password
+ Bugzilla->user->can_change_password
|| ThrowUserError("password_change_requests_not_allowed");
# Check the hash token to make sure this user actually submitted