summaryrefslogtreecommitdiffstats
path: root/extensions/Persona/template
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Persona/template')
-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 %]