mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-13 21:53:43 +01:00
Allow email to be provided when setting user's new password
GitOrigin-RevId: dede8acf46bb457fd85ad811a41a2576713e5be9
This commit is contained in:
@@ -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(),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user