fix(session): increase password length limit to 128

This commit is contained in:
Aaron Liu 2025-05-13 17:34:13 +08:00
parent 614ed4ed59
commit 571df0f911
3 changed files with 6 additions and 2 deletions

View File

@ -48,6 +48,8 @@ const PhaseCollectPassword = ({
type: "password",
id: "password",
required: "true",
maxLength: 128,
minLength: 4,
}}
onChange={(e) => setPwd(e.target.value)}
icon={<Password />}

View File

@ -180,6 +180,7 @@ const SignUp = () => {
id: "password",
required: "true",
minLength: 6,
maxLength: 128,
}}
onChange={(e) => setPassword(e.target.value)}
icon={<Password />}
@ -197,6 +198,7 @@ const SignUp = () => {
id: "repeatPassword",
required: "true",
minLength: 6,
maxLength: 128,
}}
onChange={(e) => setPasswordRepeat(e.target.value)}
icon={<Password />}

View File

@ -140,7 +140,7 @@ const SecuritySetting = ({ setting, setSetting }: ProfileSettingProps) => {
inputProps={{
type: "password",
minLength: 6,
maxLength: 64,
maxLength: 128,
}}
/>
<DenseFilledTextField
@ -152,7 +152,7 @@ const SecuritySetting = ({ setting, setSetting }: ProfileSettingProps) => {
inputProps={{
type: "password",
minLength: 6,
maxLength: 64,
maxLength: 128,
}}
/>
<Box>