I have a Laravel 5.3 app on Ubuntu 18.04. Whenever I submit a form I get the following error
TokenMismatchException in VerifyCsrfToken.php
I checked, my form token is present in the form
<input type="hidden" name="_token" value="1axYN6BB8nkhoncOrLshJykbAhmlsjoxiDvYYqxI">
I checked my cookies, no cookies are being created on client side. In chrome development tool Storage/Cookies, no values present.
So I think the issue is cookies are not set on my browser
My server storage permission is 777 and I can files inside storage/framework/sessions folder.
The same applications work on my localhost (windows)
What could be the reason for no cookies?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire