feat: Implement comprehensive user authentication with JWT, social login, and password management.
This commit is contained in:
11
src/auth/dto/forgot-password.dto.ts
Normal file
11
src/auth/dto/forgot-password.dto.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { IsEmail } from 'class-validator';
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
|
||||
export class ForgotPasswordDto {
|
||||
@ApiProperty({
|
||||
example: 'john@example.com',
|
||||
description: 'Email address to send password reset link',
|
||||
})
|
||||
@IsEmail({}, { message: 'Please provide a valid email address' })
|
||||
email: string;
|
||||
}
|
||||
Reference in New Issue
Block a user