Skip to content

Commit

Permalink
fix: enable whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
ledouxm committed Jun 18, 2024
1 parent b9f2f7b commit 55d38e8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/backend/src/services/userService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ const assertEmailDoesNotAlreadyExist = async (email: string) => {
};

const assertEmailInWhitelist = async (email: string) => {
if (isDev) return;
const whitelist = await db.whitelist.findFirst({ where: { email } });

if (!whitelist) {
Expand Down

0 comments on commit 55d38e8

Please sign in to comment.