Why method protectAgainstSpam does not work when my form has no x-honeypot component ? #129
Unanswered
PetroGromovo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On laravel / livewire site I added spatie/laravel-honeypot package, but it does not work when my form has no x-honeypot component.
In app/Livewire/ContactUsPage.php I have :
The code above works ok if my blade form has :
And checking in browser VALID Request I see that honeypot_field was sent several times:
But if in blade file to REMOVE x-honeypot Iin Invalid request no honeypot_field field in html block
But form is submitted, method protectAgainstSpam does not break a flow (I also check it by logging messages)
and data are stored.
What did I miss? Which dedugging can I make ?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions