fix: user enumaration on forgot password page
This commit is contained in:
@@ -2,5 +2,5 @@ import { PartialType, PickType } from "@nestjs/swagger";
|
||||
import { UserDTO } from "./user.dto";
|
||||
|
||||
export class UpdateOwnUserDTO extends PartialType(
|
||||
PickType(UserDTO, ["username", "email"] as const)
|
||||
PickType(UserDTO, ["username", "email"] as const),
|
||||
) {}
|
||||
|
||||
Reference in New Issue
Block a user