blob: b4089fcf27c032a1c77f4afa3c897dfbcdf6e094 (
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: </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>
<% } %>
|