Commit 49dbbcdb authored by Damien Nicolas's avatar Damien Nicolas
Browse files

Remove useless JS cookie deletion that isn't working

parent 7f03e679
Pipeline #3574 passed with stages
in 3 minutes and 24 seconds
......@@ -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'})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment