refactor: remove login by password and biometric

This commit is contained in:
Abdalhamid Alhamad
2025-04-09 15:07:48 +03:00
parent ffca6996fd
commit 4c6ef17525
5 changed files with 11 additions and 22 deletions

View File

@ -3,7 +3,7 @@ import { IsEmail, IsEnum, IsNotEmpty, IsOptional, IsString, ValidateIf } from 'c
import { i18nValidationMessage as i18n } from 'nestjs-i18n';
import { GrantType } from '~/auth/enums';
export class LoginRequestDto {
@ApiProperty({ example: GrantType.PASSWORD })
@ApiProperty({ example: GrantType.APPLE })
@IsEnum(GrantType, { message: i18n('validation.IsEnum', { path: 'general', property: 'auth.grantType' }) })
grantType!: GrantType;