Fixed #119: forced redirection to login even with API_AUTHENTICATION_REQUIRED=False

This commit is contained in:
Eliot Berriot 2018-03-15 22:34:00 +01:00
parent 0f5b1c295e
commit 4298c4236e
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
6 changed files with 14 additions and 3 deletions

View file

@ -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'