From 1049c71f1ae6ed9404501675b1faf5d92ead05a0 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 9 Mar 2015 14:38:38 +0800 Subject: Bug 1140458: backport upstream bug 1139755 to bmo/master to allow API authentication with X-Headers --- Bugzilla/WebService/Server/JSONRPC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/WebService/Server/JSONRPC.pm') 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); -- cgit v1.2.3-24-g4f1b