Disable autofill on server confirmation inputs

This commit is contained in:
npc0-hue
2026-08-04 14:59:12 +08:00
parent 86a50ec8fa
commit 96a1939f32
2 changed files with 18 additions and 2 deletions
+10 -1
View File
@@ -553,6 +553,10 @@ export function ServersPage({ session, operations, onNavigate }: PageComponentPr
<Search size={16} aria-hidden="true" />
<input
type="search"
name="server-list-search"
autoComplete="off"
data-1p-ignore="true"
data-lpignore="true"
value={keyword}
placeholder="搜索服务器名称、ID 或插件"
aria-label="搜索服务器"
@@ -631,7 +635,12 @@ export function ServersPage({ session, operations, onNavigate }: PageComponentPr
<input
type="password"
autoComplete="current-password"
name="server-delete-password-confirmation"
autoComplete="new-password"
data-1p-ignore="true"
data-lpignore="true"
data-bwignore="true"
data-protonpass-ignore="true"
value={deletePassword}
onChange={(event) => setDeletePassword(event.target.value)}
/>