Skip to content

Remove csrf_token from meta in Inertia app#878

Merged
taylorotwell merged 1 commit intolaravel:2.xfrom
keithbrink:patch-1
Sep 10, 2021
Merged

Remove csrf_token from meta in Inertia app#878
taylorotwell merged 1 commit intolaravel:2.xfrom
keithbrink:patch-1

Conversation

@keithbrink
Copy link
Contributor

Including the csrf_token as a meta element conflicts with Inertia's built-in CSRF protection: https://inertiajs.com/csrf-protection#top

CSRF protection - Inertia js 2021-09-10 at 11 26 18 AM

Including the `csrf_token` as a meta element conflicts with Inertia's built-in CSRF protection: https://inertiajs.com/csrf-protection#top

https://a.cl.ly/Wnu0mBmA
@keithbrink keithbrink changed the base branch from 2.x to master September 10, 2021 08:29
@keithbrink keithbrink changed the base branch from master to 2.x September 10, 2021 08:30
@taylorotwell taylorotwell merged commit 6119d76 into laravel:2.x Sep 10, 2021
@keithbrink keithbrink deleted the patch-1 branch September 10, 2021 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants