aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/Views/auth/forgot-password.php
blob: c0eb25e260873d4a73550e40b430bd4dc6be651f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php // Forgot password form: enter email to receive a reset link.?>
<div class="auth-page">
    <h1>Forgot password</h1>
    <?php include __DIR__ . '/../partials/flash.php'; ?>
    <form method="POST" action="/forgot-password" class="auth-form">
        <?= \App\Csrf::field() ?>
        <label for="email">Email</label>
        <input type="email" id="email" name="email" required>

        <button type="submit">Send reset link</button>
    </form>
    <p><a href="/login">Back to login</a></p>
</div>