From 833c8878d119610cb25f35d712166dfefbf2f4cf Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 3 Mar 2019 21:46:06 +0100 Subject: add logout link --- templates/login.html.ep | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'templates/login.html.ep') diff --git a/templates/login.html.ep b/templates/login.html.ep index 74deaef..3ef8dbc 100644 --- a/templates/login.html.ep +++ b/templates/login.html.ep @@ -1,3 +1,19 @@ +% if (my $user = current_user()) { +
+
+
+
+ Hallo, <%= $user->{name} %>! +

+ Du bist bereits angemeldet. Falls du mehrere Accounts hast + und auf einen anderen wechseln möchtest, musst du dich + vorher abmelden. +

+
+
+
+
+% } % if (my $invalid = stash('invalid')) {
-- cgit v1.2.3