ProticLink
Team
2 weeks ago
#1
A 419 error means the CSRF token did not match. The usual causes after a deploy:
-
-
- The
- A cached config from another server — run
Fix those and sign in again in a fresh browser tab.
-
APP_URL does not match the address you open (http vs https, www vs no www).-
SESSION_DOMAIN is set to the wrong domain.- The
storage/framework/sessions folder is not writable (when SESSION_DRIVER=file).- A cached config from another server — run
php artisan optimize:clear then php artisan optimize.Fix those and sign in again in a fresh browser tab.