diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-05-01 22:04:10 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-05-12 00:21:06 +0200 |
commit | 9f67e66b83d158b99582c2984fc253b6e6abd537 (patch) | |
tree | 9ccd06c22afdafa4607c012f4b99deeb0b87a3c8 /views/login.pug | |
parent | 1eaa2ef7ca02e1534ba5f1baefdc794f675065e0 (diff) | |
download | server-9f67e66b83d158b99582c2984fc253b6e6abd537.tar.gz |
Put account management pages under "/account" URL prefix.
Set logged in user in res.locals for use in pug templates.
Tweak verification flow.
Require password to change name and mail.
Show user statistics on profile (use pug mixin).
Remove "api" prefix on many routes.
Diffstat (limited to 'views/login.pug')
-rw-r--r-- | views/login.pug | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/login.pug b/views/login.pug index 9a44b44..ec8be48 100644 --- a/views/login.pug +++ b/views/login.pug @@ -19,7 +19,7 @@ html 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") + form(method="post") input(type="hidden" name="redirect" value=redirect) p label Name or mail: @@ -33,4 +33,4 @@ html p button(type="submit") Login p - a(href="/forgot-password") Forgot password + a(href="/account/forgot-password") Forgot password |