Skip to content

Commit

Permalink
chore: allow missing captcha in staging environment (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomiir authored Jan 21, 2025
1 parent 9257dd2 commit 42813b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewares/captchaVerification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const captchaVerification = async (
res: Response,
next: NextFunction
) => {
if (process.env.NODE_ENV === "development") {
if (process.env.NODE_ENV === "development" || process.env.NODE_ENV === "staging") {
return next();
}

Expand Down

0 comments on commit 42813b5

Please sign in to comment.