forked from lix-project/hydra
Show sign in as success
This commit is contained in:
parent
08f3bb78c4
commit
5fecf8e385
|
@ -106,7 +106,7 @@ sub persona_login :Path('/persona-login') Args(0) {
|
|||
$c->set_authenticated($user);
|
||||
|
||||
$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>";
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
<small>
|
||||
<em><a href="http://nixos.org/hydra" target="_new">Hydra</a> [% HTML.escape(version) %] (using [% HTML.escape(nixVersion) %]).</em>
|
||||
[% 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 %]
|
||||
</small>
|
||||
</footer>
|
||||
|
|
Loading…
Reference in a new issue