Disable autofill on server confirmation inputs
This commit is contained in:
@@ -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)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user