Commit 93360cf9 authored by Stefan Probst's avatar Stefan Probst
Browse files

fix: fix honeypot

parent df1212f3
Pipeline #181638 passed with stage
in 5 minutes and 21 seconds
......@@ -33,8 +33,8 @@ export default async function contact(
}
/** honeypot field */
if (formSubmission.bot !== '') {
response.status(400).end()
if (formSubmission.bot !== undefined) {
return response.status(400).end()
}
const transporter = nodemailer.createTransport({
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment