Show sign in as success

This commit is contained in:
Eelco Dolstra 2013-07-09 12:07:18 +02:00
parent 08f3bb78c4
commit 5fecf8e385
2 changed files with 2 additions and 2 deletions

View file

@ -106,7 +106,7 @@ sub persona_login :Path('/persona-login') Args(0) {
$c->set_authenticated($user); $c->set_authenticated($user);
$c->stash->{json}->{result} = "ok"; $c->stash->{json}->{result} = "ok";
$c->flash->{flashMsg} = "You are now signed in as <tt>" . $email . "</tt>"; $c->flash->{successMsg} = "You are now signed in as <tt>" . $email . "</tt>";
} }

View file

@ -95,7 +95,7 @@
<small> <small>
<em><a href="http://nixos.org/hydra" target="_new">Hydra</a> [% HTML.escape(version) %] (using [% HTML.escape(nixVersion) %]).</em> <em><a href="http://nixos.org/hydra" target="_new">Hydra</a> [% HTML.escape(version) %] (using [% HTML.escape(nixVersion) %]).</em>
[% IF c.user_exists %] [% IF c.user_exists %]
You are logged in as <tt>[% HTML.escape(c.user.username) %]</tt>. You are signed in as <tt>[% HTML.escape(c.user.username) %]</tt>.
[% END %] [% END %]
</small> </small>
</footer> </footer>