Allow email to be provided when setting user's new password

GitOrigin-RevId: dede8acf46bb457fd85ad811a41a2576713e5be9
This commit is contained in:
Andrew Rumble
2025-09-23 08:07:27 +00:00
committed by Copybot
parent 229669d6c3
commit 6e74925da4
@@ -12,6 +12,7 @@ import { z, validateReq } from '../../infrastructure/Validation.js'
const setNewUserPasswordSchema = z.object({
body: z.object({
email: z.string().optional(),
password: z.string(),
passwordResetToken: z.string(),
}),