Skip to content

Commit

Permalink
fix (CSRF token): disable CSRF token in 'shield.js'
Browse files Browse the repository at this point in the history
  • Loading branch information
HeitorMatt committed Aug 12, 2020
1 parent 9da331c commit a9f42e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adonisjs/config/shield.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ module.exports = {
|
*/
csrf: {
enable: true,
enable: false,
methods: ['POST', 'PUT', 'DELETE'],
filterUris: [],
cookieOptions: {
Expand Down

0 comments on commit a9f42e5

Please sign in to comment.