mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-12 09:37:29 +08:00
chore: missing min string length causing firebase to throw errors
This commit is contained in:
parent
98108dead8
commit
fb45f05c3f
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ router.patch(
|
|||
RateLimit.userUpdateEmail,
|
||||
validateRequest({
|
||||
body: {
|
||||
newPassword: joi.string().required(),
|
||||
newPassword: joi.string().min(6).required(),
|
||||
},
|
||||
}),
|
||||
asyncHandler(UserController.updatePassword)
|
||||
|
|
Loading…
Add table
Reference in a new issue