diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-05-01 12:45:56 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-05-06 20:00:03 +0200 |
commit | 41e604f3eb306c2e74a9cfca6af32ce6a03a3eff (patch) | |
tree | cf6d28ff1892273e7f1ae5207617237cc404a5d4 /views/login.pug | |
parent | 0b003bef8f36881522e1db1b0b8725ee92b59cd5 (diff) | |
download | server-41e604f3eb306c2e74a9cfca6af32ce6a03a3eff.tar.gz |
Add altcha to password reset request.
Diffstat (limited to 'views/login.pug')
-rw-r--r-- | views/login.pug | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/login.pug b/views/login.pug index c6e5c21..9a44b44 100644 --- a/views/login.pug +++ b/views/login.pug @@ -12,13 +12,13 @@ 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 + 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. + form(method="post" action="/login") input(type="hidden" name="redirect" value=redirect) p |