summaryrefslogtreecommitdiff
path: root/views/login.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-12 13:54:34 +0100
committerTor Andersson <tor@ccxvii.net>2023-12-12 15:18:19 +0100
commit0e770aa13994f18f4d37bdddc670acfd17187e35 (patch)
treea72265b041ae862339890bf09c21773676f74cc9 /views/login.pug
parentfd29d12bca9b432eb42ec3fecdac28ffdb4393d1 (diff)
downloadserver-0e770aa13994f18f4d37bdddc670acfd17187e35.tar.gz
Improve login page.
Diffstat (limited to 'views/login.pug')
-rw-r--r--views/login.pug4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/login.pug b/views/login.pug
index 72154f0..a470b59 100644
--- a/views/login.pug
+++ b/views/login.pug
@@ -11,6 +11,10 @@ html
if flash
p.error= flash
+ if redirect
+ p You need to be logged in to view this page!
+ p Log in below, or <a href="/signup">sign up</a> for a free account.
+
if user
p You're already logged in!
else