2022-05-26 18:45:16 +02:00
|
|
|
@js(https://www.google.com/recaptcha/api.js)
|
|
|
|
|
2020-07-05 00:09:02 +02:00
|
|
|
@extends(templates/layout_normal)
|
|
|
|
|
|
|
|
@section(main)
|
|
|
|
<h2>Request password reset</h2>
|
|
|
|
<div class="box">
|
|
|
|
<form id="passwordResetForm" action="/password/requestReset" method="post" data-redirect-on-success="/password/requestReset/success">
|
2023-05-02 13:32:42 +02:00
|
|
|
<input type="email" class="text big fullWidth" name="email" placeholder="Email address" autocomplete="username" value="<?= isset($email) ? $email : '' ?>" required autofocus>
|
2022-05-26 18:45:16 +02:00
|
|
|
<?php if (!empty($_ENV['RECAPTCHA_SITEKEY'])): ?>
|
|
|
|
<div class="marginTop">
|
|
|
|
<div class="g-recaptcha" data-sitekey="<?= $_ENV['RECAPTCHA_SITEKEY'] ?>"></div>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
2020-07-05 00:09:02 +02:00
|
|
|
<p id="passwordResetFormError" class="formError justify marginTop"></p>
|
|
|
|
<div class="right marginTop">
|
|
|
|
<button type="submit">Continue</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
@endsection
|