Merge pull request #11415 from Bouncey/fix/CSRFToken

Fix for CSRF Token issue
This commit is contained in:
Berkeley Martinez
2016-10-27 16:07:49 -07:00
committed by GitHub

View File

@ -29,7 +29,7 @@ import {
const isDev = Rx.config.longStackSupport = debug.enabled('fcc:*'); const isDev = Rx.config.longStackSupport = debug.enabled('fcc:*');
const log = debug('fcc:client'); const log = debug('fcc:client');
const hotReloadTimeout = 2000; const hotReloadTimeout = 2000;
const { csrf: { csrfToken } = {} } = window.__fcc__; const { csrf: { token: csrfToken } = {} } = window.__fcc__;
const DOMContainer = document.getElementById('fcc'); const DOMContainer = document.getElementById('fcc');
const initialState = isColdStored() ? const initialState = isColdStored() ?
getColdStorage() : getColdStorage() :