Skip to content

Commit 71e71a6

Browse files
fix: Skip Sign Up checks on dev
1 parent 12986d8 commit 71e71a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/utils/auth.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,11 @@ async function checkWithMailcheck(email: string): Promise<ValidatorResult> {
290290
* @throws {ZSAError} If email is disposable or if all services fail
291291
*/
292292
export async function canSignUp({ email }: { email: string }): Promise<void> {
293+
// Skip disposable email check in development
294+
if (!isProd) {
295+
return;
296+
}
297+
293298
const validators = [
294299
checkWithDebounce,
295300
checkWithMailcheck,

0 commit comments

Comments
 (0)