feat(nestjs): resend the auth confirmation message

This commit is contained in:
Ahmed Bouhuolia
2025-05-08 19:01:43 +02:00
parent f78d6efe27
commit 3c8b7c92fe
10 changed files with 149 additions and 20 deletions

View File

@@ -41,11 +41,6 @@ export class AuthSigninService {
`Wrong password for user with email: ${email}`,
);
}
if (!user.verified) {
throw new UnauthorizedException(
`The user is not verified yet, check out your mail inbox.`,
);
}
return user;
}