Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad Request/CSRF Token Missing on Delete #142

Open
am522379 opened this issue Sep 10, 2020 · 0 comments
Open

Bad Request/CSRF Token Missing on Delete #142

am522379 opened this issue Sep 10, 2020 · 0 comments

Comments

@am522379
Copy link

am522379 commented Sep 10, 2020

When deleting a post via the Delete link, I'm getting a Bad Request/ CSRF Token Missing response. In case others are experiencing the same issue, the solution is to add the below line within the form tag on the the page.html template.

<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>

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

No branches or pull requests

1 participant