fix: user enumaration on forgot password page

This commit is contained in:
Elias Schneider
2024-02-18 21:46:50 +01:00
parent 6058dca273
commit 64515d77cf
23 changed files with 3323 additions and 1685 deletions

View File

@@ -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),
) {}