summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-09-07 19:32:14 +0200
committerTor Andersson <tor@ccxvii.net>2023-09-13 20:06:36 +0200
commite6b8e078ef046750661972ba6d23e103462493f8 (patch)
tree5f2ce04dbca4c9b63f4359ab45f08035d0168e2a /views
parentcfdaea82e9bf0ad50d1bd5163b3a3ceb1ec7e515 (diff)
downloadserver-e6b8e078ef046750661972ba6d23e103462493f8.tar.gz
Add mail verification.
Diffstat (limited to 'views')
-rw-r--r--views/verify_mail.pug21
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