mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-05-07 07:36:33 +02:00
merge with branch issue-844 to fix issue #844
This commit is contained in:
@@ -40,8 +40,6 @@ Ext.Ajax.defaultHeaders = {
|
||||
// XSRF protection
|
||||
Ext.Ajax.on('beforerequest', function(conn, options){
|
||||
var token = Ext.util.Cookies.get('X-XSRF-Token');
|
||||
console.log(token);
|
||||
console.log(options);
|
||||
if (token){
|
||||
if (!options.headers){
|
||||
options.headers = {};
|
||||
|
||||
Reference in New Issue
Block a user