Remove path check and force sign in if the user isn't logged in
This commit is contained in:
parent
29131880d9
commit
514057aa3e
|
@ -354,9 +354,7 @@ export default {
|
|||
this.$store.dispatch('PLAYBACK_CHANGE', data);
|
||||
});
|
||||
if (!window.localStorage.getItem('plexuser')) {
|
||||
if (this.$route.fullPath.indexOf('join') === -1) {
|
||||
this.$router.push('/signin');
|
||||
}
|
||||
this.$router.push('/signin');
|
||||
this.loading = false;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue