summaryrefslogtreecommitdiffstats
path: root/extensions/Persona/template/en/default/hook
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Persona/template/en/default/hook')
-rw-r--r--extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl5
1 files changed, 5 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 fce6aeac5..9a6eeb5bf 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
@@ -9,6 +9,11 @@
[% RETURN UNLESS Param('persona_includejs_url')
&& Param('user_info_class').split(',').contains('Persona') %]
+[%# for now don't inject persona javascript on authenticated users.
+ # we've seen sessions being logged out unexpectedly
+ # we should only inject this code for users who used persona to authenicate %]
+[% RETURN IF user.id %]
+
[% USE Bugzilla %]
[% cgi = Bugzilla.cgi %]