summaryrefslogtreecommitdiff
path: root/views/reset_password.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/reset_password.ejs')
-rw-r--r--views/reset_password.ejs14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/reset_password.ejs b/views/reset_password.ejs
new file mode 100644
index 0000000..8920da7
--- /dev/null
+++ b/views/reset_password.ejs
@@ -0,0 +1,14 @@
+<%- include('header', { title: "Reset password" }) %>
+<form action="/reset_password" method="post">
+<p>
+<label for="mail">Mail: </label><br>
+<input type="text" id="mail" name="mail" size="32" value="<%= mail %>" required>
+<p>
+<label for="password">New Password: </label><br>
+<input type="password" id="password" name="password" size="32" required>
+<p>
+<label for="token">Token: </label><br>
+<input type="text" id="token" name="token" size="32" value="<%= token %>" style="font-family:monospace" required>
+<p>
+<button type="submit">Reset password</button>
+</form>