Replies: 1 comment 4 replies
-
I have the same issue (Laravel 6.20.44), I literally tried everything with no luck: php artisan clear, cache:clear, view:clear, optimize, ... it only works if I disabled CSRF middleware. How is that possible?! 😭😢 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
My project laravel work fine in windows but when i'm run my project in linux getting problem with csrf token not work after submit form, for example after submit login form will be direct to 419 page expired. So i try to inspect element and check csrf token already inside in form element, nothing wrong with code.
i'm already try to change permission in folder still not work.
-chmod -R 777 storage
-chmod -R 777 vendor
-chmod -R 777 bootstrap/cache
Steps To Reproduce:
Beta Was this translation helpful? Give feedback.
All reactions