web: disable autocomplete for 2fa (#187)

This commit is contained in:
Raphael Ochsenbein 2025-03-12 00:05:04 +01:00 committed by GitHub
parent 70d134a2ff
commit 20a7206b0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@
<tr>
<td>2FA code:&nbsp;</td>
<td>
<input id="code-input" type="text" placeholder="if enabled">
<input id="code-input" type="text" placeholder="if enabled" autocomplete="off">
</td>
</tr>
<tr>

View File

@ -37,7 +37,7 @@ block body
td #[input#passwd-input(type="password" autocapitalize="off")]
tr
td 2FA code:&nbsp;
td #[input#code-input(type="text" placeholder="if enabled")]
td #[input#code-input(type="text" placeholder="if enabled" autocomplete="off")]
tr
td(colspan=2) #[hr]
tr