35 lines
1.1 KiB
PHP
35 lines
1.1 KiB
PHP
|
|
<div class="login">
|
||
|
|
<a href="/" class="u-block u-mb40">
|
||
|
|
<img src="/images/logo.svg" alt="<?= htmlentities($_SESSION["APP_NAME"]) ?>" width="100" height="120">
|
||
|
|
</a>
|
||
|
|
<form method="post" action="/reset/">
|
||
|
|
<input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
|
||
|
|
<h1 class="login-title">
|
||
|
|
<?= _("Forgot Password") ?>
|
||
|
|
</h1>
|
||
|
|
<?php if (!empty($error)) { ?>
|
||
|
|
<p class="error"><?= $error ?></p>
|
||
|
|
<?php } ?>
|
||
|
|
<div class="u-mb10">
|
||
|
|
<label for="username" class="form-label"><?= _("Username") ?></label>
|
||
|
|
<input type="text" class="form-control" name="user" id="username" autocomplete="username" required autofocus>
|
||
|
|
</div>
|
||
|
|
<div class="u-mb20">
|
||
|
|
<label for="email" class="form-label"><?= _("Email") ?></label>
|
||
|
|
<input type="email" class="form-control" name="email" id="email" autocomplete="email" required>
|
||
|
|
</div>
|
||
|
|
<div class="u-side-by-side">
|
||
|
|
<button type="submit" class="button">
|
||
|
|
<?= _("Submit") ?>
|
||
|
|
</button>
|
||
|
|
<a href="/login/?logout" class="button button-secondary">
|
||
|
|
<?= _("Back") ?>
|
||
|
|
</a>
|
||
|
|
</div>
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</body>
|
||
|
|
|
||
|
|
</html>
|