summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/Server/JSONRPC.pm
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-03-09 07:38:38 +0100
committerByron Jones <glob@mozilla.com>2015-03-09 07:38:38 +0100
commit1049c71f1ae6ed9404501675b1faf5d92ead05a0 (patch)
treef39baab1fe611a4f03bb4d4b0940f51584df16e9 /Bugzilla/WebService/Server/JSONRPC.pm
parent66a30b69f73012e64cfe1f78710cf095ddab2a3d (diff)
downloadbugzilla-1049c71f1ae6ed9404501675b1faf5d92ead05a0.tar.gz
bugzilla-1049c71f1ae6ed9404501675b1faf5d92ead05a0.tar.xz
Bug 1140458: backport upstream bug 1139755 to bmo/master to allow API authentication with X-Headers
Diffstat (limited to 'Bugzilla/WebService/Server/JSONRPC.pm')
-rw-r--r--Bugzilla/WebService/Server/JSONRPC.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/WebService/Server/JSONRPC.pm b/Bugzilla/WebService/Server/JSONRPC.pm
index b0928960b..aa3d1ee75 100644
--- a/Bugzilla/WebService/Server/JSONRPC.pm
+++ b/Bugzilla/WebService/Server/JSONRPC.pm
@@ -390,7 +390,7 @@ sub _argument_type_check {
# Update the params to allow for several convenience key/values
# use for authentication
- fix_credentials($params);
+ fix_credentials($params, $self->cgi);
Bugzilla->input_params($params);