mjawad096 / laravel-grapesjs

This package provide an esay way to integrate GrapesJS into your laravel proejct.
MIT License
108 stars 54 forks source link

csrf token mismatch #25

Closed seongbae closed 2 years ago

seongbae commented 2 years ago

Hi,

Thank you for the package. I'm trying to use your package on my project... everything seems to work fine except when I try to upload an image, it shows "CSRF token mismatch". How do I attach CSRF token when uploading images?

Thank you.

Seong

mjawad096 commented 2 years ago

Hi @seongbae, please provide more details. Like which version you are using? From where you uploading image? etc.

Edgarborras94 commented 2 years ago

The same happens to me, it appears to be empty on the meta tags:

``

<meta name="csrf-token" content="">

`` I will try to find the template of this and try to append the csrf token to see if its working.

Running latest Laravel 9 version as of today and PHP 8.1 on Laravel Valet.

If I find the reason before @mjawad096 or @jd-dotlogics will try to do a PR ;)

nice work btw @jd-dotlogics

ghost commented 2 years ago

Bug fixed please updated to v3.2.5