From 887524670413292b71448bd0c67ab2b786c78b49 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 10 Mar 2015 13:13:49 +0800 Subject: Bug 1139749: backport bug 1128853 to bmo (Bugzilla shouldn't try to write API tokens into the shadow DB) --- template/en/default/admin/components/create.html.tmpl | 1 + template/en/default/admin/components/edit.html.tmpl | 1 + template/en/default/admin/products/create.html.tmpl | 1 + template/en/default/admin/sudo.html.tmpl | 1 + 4 files changed, 4 insertions(+) (limited to 'template/en/default/admin') 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 %]
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" %] -- cgit v1.2.3-24-g4f1b