mirror of
https://github.com/cloudreve/frontend.git
synced 2025-12-25 19:52:48 +00:00
fix(session): increase password length limit to 128
This commit is contained in:
parent
614ed4ed59
commit
571df0f911
|
|
@ -48,6 +48,8 @@ const PhaseCollectPassword = ({
|
|||
type: "password",
|
||||
id: "password",
|
||||
required: "true",
|
||||
maxLength: 128,
|
||||
minLength: 4,
|
||||
}}
|
||||
onChange={(e) => setPwd(e.target.value)}
|
||||
icon={<Password />}
|
||||
|
|
|
|||
|
|
@ -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 />}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue