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/verify_mail.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/verify_mail.pug')
-rw-r--r-- | views/verify_mail.pug | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/views/verify_mail.pug b/views/verify_mail.pug deleted file mode 100644 index 01a2e82..0000000 --- a/views/verify_mail.pug +++ /dev/null @@ -1,21 +0,0 @@ -//- vim:ts=4:sw=4: -doctype html -html - head - include head - title Verify mail - body - include header - article - h1 Verify mail - if flash - p.error= flash - - form(method="post" action="/verify-mail") - p A token has been sent to #{user.mail}. - p - label Enter the token here: - br - input(type="text" name="token" size=32 value=token style="font-family:monospace" required) - p - button(type="submit") Verify |