mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 04:29:17 +02:00
Fixed #119: forced redirection to login even with API_AUTHENTICATION_REQUIRED=False
This commit is contained in:
parent
0f5b1c295e
commit
4298c4236e
6 changed files with 14 additions and 3 deletions
|
@ -56,6 +56,9 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
openWebsocket () {
|
||||
if (!this.$store.state.auth.authenticated) {
|
||||
return
|
||||
}
|
||||
let self = this
|
||||
let token = this.$store.state.auth.token
|
||||
// let token = 'test'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue