diff --git a/front/src/store/auth.js b/front/src/store/auth.js index 114aceba1aee762881ce1e5239ddd738cb3330f9..aec40fe05725ad51a2d3faf830016a3069aab686 100644 --- a/front/src/store/auth.js +++ b/front/src/store/auth.js @@ -86,10 +86,6 @@ export default { }, response => { // we cannot contact the backend but we can at least clear our local cookies logger.default.info('Backend unreachable, cleaning local cookies…') - if (document) { - // this is to ensure we do not have any cookie set by django - document.cookie = 'Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;' - } }).finally(() => { logger.default.info('Log out, goodbye!') router.push({name: 'index'})