Send empty honeypot field in contact payload for server-side bot filtering
This commit is contained in:
parent
1ce0a12618
commit
f77fd745cf
@ -2210,7 +2210,8 @@
|
||||
name: form.name.value.trim(),
|
||||
email: form.email.value.trim(),
|
||||
company: form.company.value.trim() || null,
|
||||
message: form.message.value.trim()
|
||||
message: form.message.value.trim(),
|
||||
website: '' // honeypot sentinel: always empty for humans; bots that auto-fill the hidden field get dropped server-side
|
||||
};
|
||||
if (!data.name || !data.email || !data.message) { alert('Please fill in all required fields.'); return; }
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user