blob: 3e1dd4399ef82a2e3d57559c50c454275006e3c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<%- include('header', { title: "Login" }) %>
<% if (user) { %>
<p>You're already logged in!
<% } else { %>
<form action="/login" method="post">
<p>
<label for="username">Name or mail: </label><br>
<input type="text" id="username" name="username" required>
<p>
<label for="password">Password: </label><br>
<input type="password" id="password" name="password" required>
<p>
<button type="submit">Login</button>
</form>
<p>
<a href="/forgot_password">Forgot password</a>
<% } %>
|