mirror of
https://github.com/slawkens/myaac.git
synced 2026-01-18 12:16:24 +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
34 lines
758 B
Twig
34 lines
758 B
Twig
Please enter code from e-mail and name of one character from account. Then press Submit.<br/>
|
|
<form action="{{ getLink('account/lost/check-code') }}" method="post">
|
|
|
|
{{ csrf() }}
|
|
|
|
<table class="myaac-table" style="width: 100%;">
|
|
<thead>
|
|
<tr>
|
|
<th class="white">
|
|
<b>Code & character name</b>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
Your code: <input type="text" name="code" value="{{ code }}" size="40"><br/>
|
|
Character: <input type="text" name="character" value="{{ character }}" size="40"><br/>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<br>
|
|
<table style="width: 100%">
|
|
<tr>
|
|
<td align="center">
|
|
{% set button_name = 'Submit' %}
|
|
{% include('buttons.base.html.twig') %}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|