0.8.0.1
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user