Added CSRF token
This commit is contained in:
parent
75891079b5
commit
6feb3fbde8
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ export default {
|
|||
return request
|
||||
.post(url)
|
||||
.send(params)
|
||||
.set('X-CSRF-TOKEN', window.CSRF_TOKEN)
|
||||
.set('Accept', 'application/json');
|
||||
},
|
||||
};
|
||||
|
|
Reference in a new issue