Remove path check and force sign in if the user isn't logged in

This commit is contained in:
MagicalCodeMonkey 2020-04-13 23:23:50 -04:00
parent 29131880d9
commit 514057aa3e
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}