mercredi 23 août 2017

Laravel Random Verify CSRF Token

I currently have a web application in the process of being built in Laravel 5.3.

I have it running locally on my MacBook Pro using Laravel Valet with a SQL Server. All intended functionality works.

I then uploaded it up to my Ubuntu web server on DigitalOcean and have had it up there ever since I started this project ( 8 months ago ) without any issues.

For a specific form POST Request I am receiving a Token Mismatch Error:

TokenMismatchException in VerifyCsrfToken.php line 68

The user is already logged in and other POST Requests on the application work. The form has the correct CSRF Token inside of the form and has the token stored in the head of the page under a meta tag ( ).

I am not having this issue locally and they both have the same Database Schema and Content.

I fail to understand why this issue would only happen on the web server.

Any help is much appreciated.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2iqOrEy
via IFTTT

Aucun commentaire:

Enregistrer un commentaire