feat: add login and forget password and refactor code

This commit is contained in:
Abdalhamid Alhamad
2025-07-30 15:40:40 +03:00
parent 4cb5814cd3
commit a245545811
19 changed files with 198 additions and 694 deletions

View File

@ -1,4 +1,4 @@
import { PickType } from '@nestjs/swagger';
import { LoginRequestDto } from './login.request.dto';
export class SendForgetPasswordOtpRequestDto extends PickType(LoginRequestDto, ['email']) {}
export class SendForgetPasswordOtpRequestDto extends PickType(LoginRequestDto, ['countryCode', 'phoneNumber']) {}