aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-03-05 12:57:53 +0800
committerByron Jones <glob@mozilla.com>2015-03-05 12:57:53 +0800
commitc1fa559e16cbaa5e7a3133f7ea0b086ea00ba650 (patch)
tree063acc63c823e66b4ab8cd04802139548905a1ee /template/en/default/bug
parentdbc7a21e1b96a9c57b6a53af78a4d467c9a7672d (diff)
downloadbugs-c1fa559e16cbaa5e7a3133f7ea0b086ea00ba650.tar
bugs-c1fa559e16cbaa5e7a3133f7ea0b086ea00ba650.tar.gz
bugs-c1fa559e16cbaa5e7a3133f7ea0b086ea00ba650.tar.bz2
bugs-c1fa559e16cbaa5e7a3133f7ea0b086ea00ba650.tar.xz
bugs-c1fa559e16cbaa5e7a3133f7ea0b086ea00ba650.zip
Bug 1128853: Bugzilla shouldn't try to write API tokens into the shadow DB
r=dkl,a=glob
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/create/create.html.tmpl1
-rw-r--r--template/en/default/bug/show-header.html.tmpl1
2 files changed, 2 insertions, 0 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index 0815f3600..61faf1c1a 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -11,6 +11,7 @@
[% PROCESS global/header.html.tmpl
title = title
+ generate_api_token = 1
yui = [ 'autocomplete', 'calendar', 'datatable', 'button' ]
style_urls = ['skins/standard/bug.css']
javascript_urls = [ "js/attachment.js", "js/util.js",
diff --git a/template/en/default/bug/show-header.html.tmpl b/template/en/default/bug/show-header.html.tmpl
index f41890a46..583708492 100644
--- a/template/en/default/bug/show-header.html.tmpl
+++ b/template/en/default/bug/show-header.html.tmpl
@@ -23,6 +23,7 @@
[% title = title _ "($filtered_alias) " %]
[% END %]
[% title = title _ filtered_desc %]
+[% generate_api_token = 1 %]
[% yui = ['autocomplete', 'calendar'] %]
[% yui.push('container') IF user.can_tag_comments %]
[% javascript_urls = [ "js/util.js", "js/field.js" ] %]