summaryrefslogtreecommitdiff
path: root/views/account_reset_password.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-05-06 20:30:33 +0200
committerTor Andersson <tor@ccxvii.net>2025-05-08 12:27:31 +0200
commitb76c70aec392e8423fde6a29fb5b2a7a9f6a045f (patch)
treef149b0423f52c46a152ff032e0a20abbb1d3191b /views/account_reset_password.pug
parent83949e45c0f3abfba5432a4bdf38e2fc744afec2 (diff)
downloadserver-b76c70aec392e8423fde6a29fb5b2a7a9f6a045f.tar.gz
Rename pug files to match access url.HEADmaster
Diffstat (limited to 'views/account_reset_password.pug')
-rw-r--r--views/account_reset_password.pug31
1 files changed, 31 insertions, 0 deletions
diff --git a/views/account_reset_password.pug b/views/account_reset_password.pug
new file mode 100644
index 0000000..8707ebc
--- /dev/null
+++ b/views/account_reset_password.pug
@@ -0,0 +1,31 @@
+//- vim:ts=4:sw=4:
+doctype html
+html
+ head
+ include head
+ title Reset password
+ body
+ include header
+ article
+ h1 Reset password
+ if flash
+ p.error= flash
+
+ p You should have received a password reset token in your mail.
+
+ form(method="post")
+ p
+ label Mail:
+ br
+ input(type="email" name="mail" size=32 value=mail required)
+ p
+ label New Password:
+ br
+ input(type="password" name="password" size=32 required)
+ p
+ label Token:
+ br
+ input(type="text" name="token" size=32 value=token style="font-family:monospace" required)
+ +altcha_widget()
+ p
+ button(type="submit") Reset password