From 66894e81e144f2903dba6278cbc5fa6182a4a254 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Mon, 28 May 2018 20:52:35 +0200 Subject: [PATCH] temp comment out securityInterceptor --- .../src/common/security/securityinterceptor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/security/securityinterceptor.js b/src/Umbraco.Web.UI.Client/src/common/security/securityinterceptor.js index 550c227613..80dbe37e2c 100644 --- a/src/Umbraco.Web.UI.Client/src/common/security/securityinterceptor.js +++ b/src/Umbraco.Web.UI.Client/src/common/security/securityinterceptor.js @@ -123,6 +123,7 @@ angular.module('umbraco.security.interceptor') .config(['$httpProvider', function ($httpProvider) { $httpProvider.defaults.xsrfHeaderName = 'X-UMB-XSRF-TOKEN'; $httpProvider.defaults.xsrfCookieName = 'UMB-XSRF-TOKEN'; - $httpProvider.responseInterceptors.push('securityInterceptor'); + // Fixme: https://stackoverflow.com/questions/23804981/alternative-of-httpprovider-responseinterceptors + // $httpProvider.interceptors.push('securityInterceptor'); $httpProvider.interceptors.push('umbracoRequestInterceptor'); }]);