mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
web: disable autocomplete for 2fa (#187)
This commit is contained in:
parent
70d134a2ff
commit
20a7206b0f
@ -75,7 +75,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>2FA code: </td>
|
<td>2FA code: </td>
|
||||||
<td>
|
<td>
|
||||||
<input id="code-input" type="text" placeholder="if enabled">
|
<input id="code-input" type="text" placeholder="if enabled" autocomplete="off">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@ -37,7 +37,7 @@ block body
|
|||||||
td #[input#passwd-input(type="password" autocapitalize="off")]
|
td #[input#passwd-input(type="password" autocapitalize="off")]
|
||||||
tr
|
tr
|
||||||
td 2FA code:
|
td 2FA code:
|
||||||
td #[input#code-input(type="text" placeholder="if enabled")]
|
td #[input#code-input(type="text" placeholder="if enabled" autocomplete="off")]
|
||||||
tr
|
tr
|
||||||
td(colspan=2) #[hr]
|
td(colspan=2) #[hr]
|
||||||
tr
|
tr
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user