add condition to the remember-me checkbox for updaters when the token-table does not exist yet

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2024-08-29 08:19:45 +02:00
parent 197eb7954a
commit 3367f6dbd8
11 changed files with 14 additions and 15 deletions

View File

@@ -22,6 +22,7 @@
<input class="form-control" type="text" name="2fa_code" id="2fa_code" value="" autocomplete="off" autofocus required/>
</div>
{% if remember_me %}
<div class="mb-3">
<div class="form-check form-switch">
<input type="hidden" name="2fa_remember" value="0"/>
@@ -29,6 +30,7 @@
<label class="form-check-label" for="2fa_remember">{{ lng('login.2faremember') }}</label>
</div>
</div>
{% endif %}
</div>