diff --git a/src/core/plugins/auth/actions.js b/src/core/plugins/auth/actions.js index 35afbc0d98d43b54e732656d64cd246d46233667..23163b71c679afe30e92438ec78aafafdcbbccdd 100644 --- a/src/core/plugins/auth/actions.js +++ b/src/core/plugins/auth/actions.js @@ -168,7 +168,8 @@ export const authorizeRequest = ( data ) => ( { fn, getConfigs, authActions, err let _headers = Object.assign({ "Accept":"application/json, text/plain, */*", - "Content-Type": "application/x-www-form-urlencoded" + "Content-Type": "application/x-www-form-urlencoded", + "X-Requested-With": "XMLHttpRequest" }, headers) fn.fetch({