fix(auth): password min length 6 + show/hide toggle on password inputs
Build & Push Docker Image / build (push) Successful in 2m21s
Build & Push Docker Image / build (push) Successful in 2m21s
This commit is contained in:
@@ -25,7 +25,7 @@ const UserUpdateSchema = z.object({
|
||||
});
|
||||
|
||||
const SetPasswordSchema = z.object({
|
||||
password: z.string().min(8),
|
||||
password: z.string().min(6),
|
||||
});
|
||||
|
||||
router.patch("/users/:id/password", requireAdmin, passwordRateLimit, async (req, res): Promise<void> => {
|
||||
|
||||
Reference in New Issue
Block a user