禁用登录页面浏览器自动填充密码

This commit is contained in:
freedakgmail
2025-12-21 18:01:06 +08:00
parent 5c8c70097c
commit 1491fed6f6
2 changed files with 8 additions and 1 deletions
+2
View File
@@ -86,6 +86,7 @@ export default function SignInPage() {
onChange={(e) => setEmail(e.target.value)}
required
disabled={loading}
autoComplete="off"
/>
</div>
@@ -99,6 +100,7 @@ export default function SignInPage() {
onChange={(e) => setPassword(e.target.value)}
required
disabled={loading}
autoComplete="new-password"
/>
</div>
</CardContent>