Skip to content
Snippets Groups Projects
Commit 49dbbcdb authored by Damien Nicolas's avatar Damien Nicolas
Browse files

Remove useless JS cookie deletion that isn't working

parent 7f03e679
No related tags found
No related merge requests found
Pipeline #3573 passed
...@@ -86,10 +86,6 @@ export default { ...@@ -86,10 +86,6 @@ export default {
}, response => { }, response => {
// we cannot contact the backend but we can at least clear our local cookies // we cannot contact the backend but we can at least clear our local cookies
logger.default.info('Backend unreachable, cleaning 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(() => { }).finally(() => {
logger.default.info('Log out, goodbye!') logger.default.info('Log out, goodbye!')
router.push({name: 'index'}) router.push({name: 'index'})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment