summaryrefslogtreecommitdiffstats
path: root/extensions/Persona/template/en
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Persona/template/en')
-rw-r--r--extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl4
1 files changed, 2 insertions, 2 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 d4cc2132e..f440247b3 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
@@ -32,9 +32,8 @@ function createHidden(name, value, form) {
}
function persona_sign_in() {
- navigator.id.request({ siteName: '[% terms.BugzillaTitle FILTER js %]' });
navigator.id.watch({
- loggedInUser: [% IF user.id %]'[% user.login FILTER js %]'[% ELSE %]null[% END %],
+ loggedInUser: null,
onlogin: function(assertion) {
var form = document.createElement('form');
form.action = '[% login_target FILTER js %]';
@@ -61,5 +60,6 @@ function persona_sign_in() {
return true;
}
});
+ navigator.id.request({ siteName: '[% terms.BugzillaTitle FILTER js %]' });
}
</script>