Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

CSRF token #20

Closed
yodyyyy opened this issue May 27, 2019 · 1 comment
Closed

CSRF token #20

yodyyyy opened this issue May 27, 2019 · 1 comment

Comments

@yodyyyy
Copy link

yodyyyy commented May 27, 2019

It's possible to add csrf meta tags inside <head> like vue does?
Thank you

@skyrpex
Copy link
Owner

skyrpex commented May 28, 2019

You could do it in the PHP packages by modifying the https://github.com/skyrpex/laravel-nuxt/blob/c5a1ceb56ee5b4fd3ef5afdfc9bddce291715014/src/Controllers/NuxtController.php#L30 line. You could append the meta tag before the </head>.

Anyway, I would suggest to use cookies instead.

@skyrpex skyrpex closed this as completed May 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants