From e6b8e078ef046750661972ba6d23e103462493f8 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 7 Sep 2023 19:32:14 +0200 Subject: Add mail verification. --- views/verify_mail.pug | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 views/verify_mail.pug (limited to 'views') 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 -- cgit v1.2.3