Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
funkwhale
funkwhale
Commits
49dbbcdb
Commit
49dbbcdb
authored
Mar 13, 2019
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
front/src/store/auth.js
View file @
49dbbcdb
...
...
@@ -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
'
})
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment