in $larafetch.ts no cookies can be read out. it is undefined when transferring to the login page, therefore the error message "CSRF token mismatch."
mydidefix opened this issue · 1 comments
mydidefix commented
in $larafetch.ts no cookies can be read out. it is undefined when transferring to the login page, therefore the error
message "CSRF token mismatch."
Thanks for the help
mydidefix commented
Problem on the server was solved:
enter in .env:
SESSION_DOMAIN='.domain'
SESSION_SECURE_COOKIE=true