From 99f6f27b8aa87168fd04e70a1742f1bf20ccd73b Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Fri, 22 Feb 2013 16:32:59 +0800 Subject: Bug 843989: work around persona "randomly" logging people out --- .../en/default/hook/global/header-additional_header.html.tmpl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'extensions/Persona/template/en') 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 %] -- cgit v1.2.3-24-g4f1b