diff --git a/src/root/layout.tt b/src/root/layout.tt index ed255e05..0229c229 100644 --- a/src/root/layout.tt +++ b/src/root/layout.tt @@ -136,7 +136,7 @@ }); $("#persona-signin").click(function() { - navigator.id.request(); + navigator.id.request({ siteName: 'Hydra' }); }); $("#persona-signout").click(function() { diff --git a/src/root/login.tt b/src/root/login.tt index d26cb4d6..c2806600 100644 --- a/src/root/login.tt +++ b/src/root/login.tt @@ -7,11 +7,6 @@ You are already signed in as [% HTML.escape(c.user.username) %].

[% ELSE %] - -
diff --git a/src/root/topbar.tt b/src/root/topbar.tt index 609fa3c1..153b0b1a 100644 --- a/src/root/topbar.tt +++ b/src/root/topbar.tt @@ -202,9 +202,17 @@ Sign out [% ELSE %] -
  • - Sign in -
  • + [% WRAPPER makeSubMenu title="Sign in" %] +
  • + + Sign in with Persona + +
  • +
  • +
  • + Sign in with a Hydra user name +
  • + [% END %] [% END %]