chore: rollback CSRF token generation (#42082)
This reverts commit e1c00138a9
.
This commit is contained in:
committed by
GitHub
parent
94d4b2f553
commit
83943de719
@ -2,7 +2,6 @@ import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Provider } from 'react-redux';
|
||||
import { I18nextProvider } from 'react-i18next';
|
||||
import cookies from 'browser-cookies';
|
||||
|
||||
import i18n from './i18n/config';
|
||||
import { createStore } from './src/redux/createStore';
|
||||
@ -28,9 +27,3 @@ wrapRootElement.propTypes = {
|
||||
export const wrapPageElement = layoutSelector;
|
||||
|
||||
export const disableCorePrefetching = () => true;
|
||||
|
||||
export const onClientEntry = () => {
|
||||
// purge the _csrf cookie, rather than relying what the browser decides a
|
||||
// Session duration is
|
||||
cookies.erase('_csrf');
|
||||
};
|
||||
|
Reference in New Issue
Block a user