mirror of
https://github.com/slawkens/myaac.git
synced 2026-01-19 04:36:22 +01:00
* [WIP] Account Lost refactor * [WIP] Refactor account/lost * Update form.html.twig * Use myaac-table class for tables * Set $title to 'Lost Account' * Remove duplicated code - extract lostAccountCooldown function * [WIP] Add csrfProtect() * Refactor code, better $error messages * Formatting * Refactor Add missing password check Formatting * [WIP] Refactor * [WIP] Refactor account lost * [WIP] Refactor account lost - fixes * [WIP] Account lost refactor * Fixes * Add account lost hooks for password strength plugin
58 lines
1.2 KiB
Twig
58 lines
1.2 KiB
Twig
If you enter right recovery key you will see form to set new e-mail and password to account. To this e-mail will be send your new password and account name.<BR>
|
|
<form action="{{ getLink('account/lost/recovery-key/step-2') }}" method="post">
|
|
|
|
{{ csrf() }}
|
|
|
|
<table class="myaac-table" style="width: 100%;">
|
|
|
|
<thead>
|
|
<tr>
|
|
<th class="white">
|
|
<b>Please enter your recovery key</b>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
<label for="nick">
|
|
<strong>Character name:</strong>
|
|
</label>
|
|
</td>
|
|
<td>
|
|
<input type=text id="nick" name="nick" value="{{ nick }}" size="40" readonly="readonly">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label for="key">
|
|
<strong>Recovery key:</strong>
|
|
</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" id="key" name="key" value="{{ key }}" size="40">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
<br>
|
|
<table style="width: 100%">
|
|
<tr>
|
|
<td>
|
|
<div style="text-align:center">
|
|
{% set button_name = 'Submit' %}
|
|
{% include('buttons.base.html.twig') %}
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|