From 7c39ca2f98f2f5431713ad387849217f12cc03c2 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 1 Sep 2015 15:18:48 +0000 Subject: Bug 1200610: jsonrpc API requests do not work when "Require API-Key authentication for API requests" is enabled due to missing API tokens --- extensions/REMO/template/en/default/pages/remo-form-payment.html.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extensions/REMO') diff --git a/extensions/REMO/template/en/default/pages/remo-form-payment.html.tmpl b/extensions/REMO/template/en/default/pages/remo-form-payment.html.tmpl index ad5cbdb45..3994e13fd 100644 --- a/extensions/REMO/template/en/default/pages/remo-form-payment.html.tmpl +++ b/extensions/REMO/template/en/default/pages/remo-form-payment.html.tmpl @@ -125,7 +125,8 @@ function getBugInfo (e, div) { id: bug_id, params: { ids: [ bug_id ], - include_fields: [ 'product', 'component', 'status', 'summary' ] + include_fields: [ 'product', 'component', 'status', 'summary' ], + Bugzilla_api_token : (BUGZILLA.api_token ? BUGZILLA.api_token : '') } }) ); -- cgit v1.2.3-24-g4f1b