Implement password change endpoint

* move email templates to server
This commit is contained in:
Philipinho
2024-05-04 15:46:11 +01:00
parent c1cd090252
commit fece460051
22 changed files with 323 additions and 425 deletions

View File

@ -0,0 +1,13 @@
import { IsNotEmpty, IsString, MinLength } from 'class-validator';
export class ChangePasswordDto {
@IsNotEmpty()
@MinLength(8)
@IsString()
oldPassword: string;
@IsNotEmpty()
@MinLength(8)
@IsString()
newPassword: string;
}