Closed ehsantalkhouncheh closed 3 years ago
Hurrah! That exception means that Honey is working. That is the default exception that gets thrown if a bot is detected. If you fill the form out too quickly or fill in the missing fields, it will fail.
The problem is i didn't fill form at all i got this error when i tried to visit the form
It looks like you've put the middleware on the GET route rather than the PUT or POST route that your form points to.
I have the same problem but I think the middleware is in the right place
Route::post('/newsletter-subscription', [App\Http\Controllers\NewsletterSubscriptionController::class, 'store'] )->middleware(['honey', 'honey-recaptcha'])->name('newsletter-subscription');
I got this error after add honey middlware on my route :
Route::group(['middleware' => 'honey'], function () { Route::get('/directdebit', function () { return view('directdebit'); })->name('directdebit'); });
i use laravel 8 and livewire