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/forgot_password.ejs | |
parent | bbf5e1573384707c9389cc1f5ea731d87767ce0f (diff) | |
download | server-d26b79fa0242008c01a1db379c65f3e06c603c94.tar.gz |
Add password reset via email token.
Diffstat (limited to 'views/forgot_password.ejs')
-rw-r--r-- | views/forgot_password.ejs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/views/forgot_password.ejs b/views/forgot_password.ejs new file mode 100644 index 0000000..1679496 --- /dev/null +++ b/views/forgot_password.ejs @@ -0,0 +1,13 @@ +<%- include('header', { title: "Forgot password" }) %> +<% if (user) { %> +<p> +You're already logged in! +<% } else { %> +<form action="/forgot_password" method="post"> +<p> +<label for="mail">Mail: </label><br> +<input type="mail" id="mail" name="mail" required> +<p> +<button type="submit">Forgot password</button> +</form> +<% } %> |