summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-03-10 06:13:49 +0100
committerByron Jones <glob@mozilla.com>2015-03-10 06:13:49 +0100
commit887524670413292b71448bd0c67ab2b786c78b49 (patch)
tree794e276bdc45f081b681357069d61e8aa05be464 /template/en/default/admin
parentef96ae157223b3309f7703798b32b0b386b2edff (diff)
downloadbugzilla-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 'template/en/default/admin')
-rw-r--r--template/en/default/admin/components/create.html.tmpl1
-rw-r--r--template/en/default/admin/components/edit.html.tmpl1
-rw-r--r--template/en/default/admin/products/create.html.tmpl1
-rw-r--r--template/en/default/admin/sudo.html.tmpl1
4 files changed, 4 insertions, 0 deletions
diff --git a/template/en/default/admin/components/create.html.tmpl b/template/en/default/admin/components/create.html.tmpl
index c3b691d83..a95d45399 100644
--- a/template/en/default/admin/components/create.html.tmpl
+++ b/template/en/default/admin/components/create.html.tmpl
@@ -29,6 +29,7 @@
yui = [ 'autocomplete' ]
javascript_urls = [ "js/field.js" ]
title = title
+ generate_api_token = 1
%]
<form method="post" action="editcomponents.cgi">
diff --git a/template/en/default/admin/components/edit.html.tmpl b/template/en/default/admin/components/edit.html.tmpl
index 5236186cc..874310ac8 100644
--- a/template/en/default/admin/components/edit.html.tmpl
+++ b/template/en/default/admin/components/edit.html.tmpl
@@ -33,6 +33,7 @@
[% END %]
[% PROCESS global/header.html.tmpl
title = title
+ generate_api_token = 1
yui = [ 'autocomplete' ]
javascript_urls = [ "js/field.js" ]
%]
diff --git a/template/en/default/admin/products/create.html.tmpl b/template/en/default/admin/products/create.html.tmpl
index 3af81fb23..d2167c64b 100644
--- a/template/en/default/admin/products/create.html.tmpl
+++ b/template/en/default/admin/products/create.html.tmpl
@@ -24,6 +24,7 @@
[% PROCESS global/header.html.tmpl
title = title
+ generate_api_token = 1
style_urls = ['skins/standard/admin.css']
javascript_urls = ['js/util.js']
%]
diff --git a/template/en/default/admin/sudo.html.tmpl b/template/en/default/admin/sudo.html.tmpl
index 676959c34..c96a68ec1 100644
--- a/template/en/default/admin/sudo.html.tmpl
+++ b/template/en/default/admin/sudo.html.tmpl
@@ -22,6 +22,7 @@
[% PROCESS global/header.html.tmpl
title = "Begin sudo session"
+ generate_api_token = 1
style_urls = ['skins/standard/admin.css']
doc_section = "useradmin.html#impersonatingusers"
%]