mirror of
https://github.com/slawkens/myaac.git
synced 2026-04-24 11:23:33 +02:00
[WIP] 2fa - Optimize code, views
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
<div style="margin-top: 15px; margin-bottom: 15px;">
|
||||
<div class="LabelV150 {{ wrongCode ? 'red' : '' }}" style="float:left;"><label
|
||||
for="email-code">Email Code:</label></div>
|
||||
<input form="form-code" id="auth-code" name="email-code" maxlength="15"
|
||||
<input form="form" id="auth-code" name="email-code" maxlength="15"
|
||||
autocomplete="off">
|
||||
{% if wrongCode %}
|
||||
<br/>
|
||||
@@ -86,7 +86,7 @@
|
||||
<tbody>
|
||||
<tr align="center" valign="top">
|
||||
<td>
|
||||
<form id="form-code" method="post" action="{{ getLink('account/2fa/email/disable') }}">
|
||||
<form id="form" method="post" action="{{ getLink('account/2fa/email/disable') }}">
|
||||
{{ csrf() }}
|
||||
|
||||
<input type="hidden" name="save" value="1">
|
||||
|
||||
Reference in New Issue
Block a user