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>
|
||||
<td>2FA code: </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>
|
||||
|
||||
@ -37,7 +37,7 @@ block body
|
||||
td #[input#passwd-input(type="password" autocapitalize="off")]
|
||||
tr
|
||||
td 2FA code:
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user