diff options
author | Byron Jones <glob@mozilla.com> | 2015-03-10 06:13:49 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-03-10 06:13:49 +0100 |
commit | 887524670413292b71448bd0c67ab2b786c78b49 (patch) | |
tree | 794e276bdc45f081b681357069d61e8aa05be464 /extensions/REMO | |
parent | ef96ae157223b3309f7703798b32b0b386b2edff (diff) | |
download | bugzilla-887524670413292b71448bd0c67ab2b786c78b49.tar.gz bugzilla-887524670413292b71448bd0c67ab2b786c78b49.tar.xz |
Bug 1139749: backport bug 1128853 to bmo (Bugzilla shouldn't try to write API tokens into the shadow DB)
Diffstat (limited to 'extensions/REMO')
4 files changed, 9 insertions, 5 deletions
diff --git a/extensions/REMO/template/en/default/bug/create/create-mozreps.html.tmpl b/extensions/REMO/template/en/default/bug/create/create-mozreps.html.tmpl index 420c6a8cd..6a5794121 100644 --- a/extensions/REMO/template/en/default/bug/create/create-mozreps.html.tmpl +++ b/extensions/REMO/template/en/default/bug/create/create-mozreps.html.tmpl @@ -20,11 +20,12 @@ [% PROCESS global/variables.none.tmpl %] [% PROCESS global/header.html.tmpl - title = "Mozilla Reps - Application Form" - style_urls = [ "extensions/REMO/web/styles/moz_reps.css" ] - yui = [ "autocomplete" ] - jquery = [] - javascript_urls = [ "extensions/REMO/web/js/moz_reps.js", "js/field.js", "js/util.js"] + title = "Mozilla Reps - Application Form" + generate_api_token = 1 + style_urls = [ "extensions/REMO/web/styles/moz_reps.css" ] + yui = [ "autocomplete" ] + jquery = [] + javascript_urls = [ "extensions/REMO/web/js/moz_reps.js", "js/field.js", "js/util.js"] %] <noscript> diff --git a/extensions/REMO/template/en/default/bug/create/create-remo-budget.html.tmpl b/extensions/REMO/template/en/default/bug/create/create-remo-budget.html.tmpl index 6e393612c..5f5291d32 100644 --- a/extensions/REMO/template/en/default/bug/create/create-remo-budget.html.tmpl +++ b/extensions/REMO/template/en/default/bug/create/create-remo-budget.html.tmpl @@ -10,6 +10,7 @@ [% PROCESS global/header.html.tmpl title = "Mozilla Reps Budget Request Form" + generate_api_token = 1 style_urls = [ 'extensions/REMO/web/styles/moz_reps.css' ] javascript_urls = [ 'extensions/REMO/web/js/form_validate.js', 'js/util.js', diff --git a/extensions/REMO/template/en/default/bug/create/create-remo-swag.html.tmpl b/extensions/REMO/template/en/default/bug/create/create-remo-swag.html.tmpl index 70fba6cb8..9cec10f38 100644 --- a/extensions/REMO/template/en/default/bug/create/create-remo-swag.html.tmpl +++ b/extensions/REMO/template/en/default/bug/create/create-remo-swag.html.tmpl @@ -10,6 +10,7 @@ [% PROCESS global/header.html.tmpl title = "Mozilla Reps Swag Request Form" + generate_api_token = 1 javascript_urls = [ 'extensions/REMO/web/js/swag.js', 'extensions/REMO/web/js/form_validate.js', 'js/field.js', 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 0f5f206d3..ad5cbdb45 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 @@ -22,6 +22,7 @@ [% PROCESS global/header.html.tmpl title = "Mozilla Reps Payment Form" + generate_api_token = 1 style_urls = [ 'extensions/REMO/web/styles/moz_reps.css' ] javascript_urls = [ 'extensions/REMO/web/js/form_validate.js', 'js/util.js', |