Is that CSRF token hardcoded or did you copy it from the rendered html?
Sep 3, 2021
13
Level 1
CSRF problem
Hi! I have a strange problem with 419 expired error on Laravel 8 while storing the item. By the way, updating the item works well, I have
<input name="_token" type="hidden" value="8vuZXCzutLdsyj9EYF6fPWmCcblyZqTso5BL5GLx">
in both forms similar. Commenting VerifyCsrfToken.php middleware solves the problem, so it's CSRF problem. Any ideas?
Level 102
Can you show the route for customers.store as well as the controller?
Please or to participate in this conversation.