diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-09-07 19:32:14 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-09-13 20:06:36 +0200 |
commit | e6b8e078ef046750661972ba6d23e103462493f8 (patch) | |
tree | 5f2ce04dbca4c9b63f4359ab45f08035d0168e2a /views/verify_mail.pug | |
parent | cfdaea82e9bf0ad50d1bd5163b3a3ceb1ec7e515 (diff) | |
download | server-e6b8e078ef046750661972ba6d23e103462493f8.tar.gz |
Add mail verification.
Diffstat (limited to 'views/verify_mail.pug')
-rw-r--r-- | views/verify_mail.pug | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/views/verify_mail.pug b/views/verify_mail.pug new file mode 100644 index 0000000..01a2e82 --- /dev/null +++ b/views/verify_mail.pug @@ -0,0 +1,21 @@ +//- 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 |