fix : 12 to 6 for password
This commit is contained in:
@@ -61,7 +61,7 @@ export function AccountForm({ mode, siteKey, nextPath }: {
|
||||
<CardContent className="flex flex-col gap-4"><form onSubmit={submit}><FieldGroup>
|
||||
{register && <Field><FieldLabel htmlFor="name">ชื่อ</FieldLabel><Input id="name" name="name" required maxLength={100} /></Field>}
|
||||
<Field><FieldLabel htmlFor="email">อีเมล</FieldLabel><Input id="email" name="email" type="email" required autoComplete="email" /></Field>
|
||||
<Field><FieldLabel htmlFor="password">รหัสผ่าน</FieldLabel><Input id="password" name="password" type="password" required minLength={12} autoComplete={register ? "new-password" : "current-password"} /></Field>
|
||||
<Field><FieldLabel htmlFor="password">รหัสผ่าน</FieldLabel><Input id="password" name="password" type="password" required minLength={6} autoComplete={register ? "new-password" : "current-password"} /></Field>
|
||||
{captcha && <div ref={container} />}
|
||||
<Button type="submit" disabled={busy || (captcha && !token)}>{busy ? "กำลังดำเนินการ..." : register ? "สมัครสมาชิก" : "เข้าสู่ระบบ"}</Button>
|
||||
</FieldGroup></form>
|
||||
|
||||
Reference in New Issue
Block a user