diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-06-18 17:53:14 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-06-19 12:02:41 +0200 |
commit | d26b79fa0242008c01a1db379c65f3e06c603c94 (patch) | |
tree | 2cdbb47ff87676ec5b54976a1a51f52fb2a20a33 /views/reset_password.ejs | |
parent | bbf5e1573384707c9389cc1f5ea731d87767ce0f (diff) | |
download | server-d26b79fa0242008c01a1db379c65f3e06c603c94.tar.gz |
Add password reset via email token.
Diffstat (limited to 'views/reset_password.ejs')
-rw-r--r-- | views/reset_password.ejs | 14 |
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> |