Skip to content

Commit

Permalink
chore: reduce password entropy req
Browse files Browse the repository at this point in the history
  • Loading branch information
apotdevin committed Jul 6, 2024
1 parent 89fffea commit 0a0c4a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SignUpForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const FormSchema = z
accept_tos_and_pp: z.boolean(),
accept_condition_1: z.boolean(),
})
.refine(data => stringEntropy(data.password) >= 100, {
.refine(data => stringEntropy(data.password) >= 90, {
message: 'Password is weak.',
path: ['password'],
})
Expand Down

0 comments on commit 0a0c4a6

Please sign in to comment.