This commit is contained in:
freedakgmail
2025-12-21 18:07:15 +08:00
parent 1491fed6f6
commit a5145d4d60
117 changed files with 139 additions and 129 deletions
+16 -6
View File
@@ -76,10 +76,15 @@ export default function SignInPage() {
</Alert>
)}
{/* 隐藏的假输入框,用于欺骗浏览器自动填充 */}
<input type="text" name="fake-email" style={{ display: 'none' }} />
<input type="password" name="fake-password" style={{ display: 'none' }} />
<div className="space-y-2">
<Label htmlFor="email"></Label>
<Label htmlFor="login-email"></Label>
<Input
id="email"
id="login-email"
name="login-email"
type="email"
placeholder="请输入邮箱"
value={email}
@@ -87,20 +92,25 @@ export default function SignInPage() {
required
disabled={loading}
autoComplete="off"
data-lpignore="true"
data-form-type="other"
/>
</div>
<div className="space-y-2">
<Label htmlFor="password"></Label>
<Label htmlFor="login-password"></Label>
<Input
id="password"
id="login-password"
name="login-password"
type="password"
placeholder="••••••••"
placeholder=""
value={password}
onChange={(e) => setPassword(e.target.value)}
required
disabled={loading}
autoComplete="new-password"
autoComplete="off"
data-lpignore="true"
data-form-type="other"
/>
</div>
</CardContent>