summaryrefslogtreecommitdiffstats
path: root/extensions/Persona/template/en
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-04-01 21:26:31 +0200
committerDavid Lawrence <dkl@mozilla.com>2014-04-01 21:26:31 +0200
commitdf1d177c7c6edb850020bf54def8c5f401417b72 (patch)
tree56837d5c11ef0021ead1fc941072aa8c13816f82 /extensions/Persona/template/en
parente348ebc732d8c9d24d83def222a9ef52244a5bca (diff)
parentb42469e3632fe96b0475fa00f07d6ca5abc0e2dc (diff)
downloadbugzilla-df1d177c7c6edb850020bf54def8c5f401417b72.tar.gz
bugzilla-df1d177c7c6edb850020bf54def8c5f401417b72.tar.xz
Merge branch '4.2' of ssh://git.mozilla.org/webtools/bmo/bugzilla into 4.2
Diffstat (limited to 'extensions/Persona/template/en')
-rw-r--r--extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl b/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl
index f6d68a5af..786010a34 100644
--- a/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl
+++ b/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl
@@ -54,6 +54,7 @@ function persona_onlogin(assertion) {
[% FOREACH field = cgi.param() %]
[% NEXT IF field.search("^(Bugzilla_(login|password|restrictlogin)|token|persona_assertion)$") %]
+ [% NEXT UNLESS cgi.param(field).can('slice') %]
[% FOREACH mvalue = cgi.param(field).slice(0) %]
createHidden('[% field FILTER js %]', '[% mvalue FILTER html_linebreak FILTER js %]', form);
[% END %]