Fix: Increase password max length and accept '-' for username in regex (#564)

* fix: increase username max length and accept '-' in regex

* fix: increase username max length and accept '-' in regex

* fix: increase username max length and accept '-' in regex
This commit is contained in:
Fuegovic 2023-07-01 20:12:45 -04:00 committed by GitHub
parent df2a68e1e7
commit d2ce2ef2cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 19 deletions

View file

@ -74,7 +74,7 @@ function LoginForm({ onSubmit }: TLoginFormProps) {
},
maxLength: {
value: 40,
message: 'Password must be less than 40 characters'
message: 'Password must be 128 characters or less'
}
})}
aria-invalid={!!errors.password}