Morgbn / nuxt-csurf

Nuxt Cross-Site Request Forgery (CSRF) Prevention
https://nuxt-csurf.vercel.app
MIT License
81 stars 16 forks source link

Make csrf token header configurable #38

Closed TitusKirch closed 4 months ago

TitusKirch commented 6 months ago

Add an option to add the CSRF token as a header other than csrf-token in the request. For example, I want to set this to X-XSRF-TOKEN for my Laravel backend.

github-actions[bot] commented 4 months ago

:tada: This issue has been resolved in version 1.6.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: