blob: da9e7e5f1f84bb536dfbc01fe2f5279ce4c172b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php // Login form.?>
<div class="auth-page">
<h1>Login</h1>
<?php include __DIR__ . '/../partials/flash.php'; ?>
<form method="POST" action="/login" class="auth-form">
<?= \App\Csrf::field() ?>
<label for="username">Username</label>
<input type="text" id="username" name="username" required>
<label for="password">Password</label>
<input type="password" id="password" name="password" required>
<button type="submit">Log in</button>
</form>
<p><a href="/forgot-password">Forgot your password?</a></p>
<p>Don't have an account? <a href="/register">Register</a></p>
</div>
|