diff --git a/packages/api-v2/src/auth/auth.controller.ts b/packages/api-v2/src/auth/auth.controller.ts index 93fbdc123..fbc8f6825 100644 --- a/packages/api-v2/src/auth/auth.controller.ts +++ b/packages/api-v2/src/auth/auth.controller.ts @@ -66,11 +66,11 @@ export class AuthController { sameSite: "strict", secure: isSecure, }); - // if (process.env.NODE_ENV !== "testing") { - await this.emailConfirmationService.sendVerificationLink( - createStudentDto.email - ); - // } + if (process.env.NODE_ENV !== "testing") { + await this.emailConfirmationService.sendVerificationLink( + createStudentDto.email + ); + } return student; }