summaryrefslogtreecommitdiff
path: root/views/forgot_password.ejs
blob: 16794963c160ef5ceb22be288e681b9beb573ef2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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>
<% } %>