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
27 lines
558 B
Twig
27 lines
558 B
Twig
{% if new_line is defined and new_line %}
|
|
<br/>
|
|
{% endif %}
|
|
|
|
{% set _center = false %}
|
|
|
|
{% if center is defined and center %}
|
|
{% set _center = true %}
|
|
{% endif %}
|
|
|
|
{% if _center %}
|
|
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
|
<tbody>
|
|
<tr>
|
|
<td align="center">
|
|
{% endif %}
|
|
<form action="{% if action is not defined %}{{ getLink('account/manage') }}{% else %}{{ action }}{% endif %}" method="post">
|
|
{{ csrf() }}
|
|
{{ include('buttons.back.html.twig') }}
|
|
</form>
|
|
{% if _center %}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|