1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix isLoggedIntoConnect check

This commit is contained in:
Luke Pulverenti 2015-04-01 13:09:08 -04:00
parent 69083dde3b
commit a0ff8fc2a5

View file

@ -455,7 +455,10 @@
self.isLoggedIntoConnect = function () {
// Make sure it returns true or false
return (self.connectToken() && self.connectUserId()) == true;
if (!self.connectToken() || !self.connectUserId()) {
return false;
}
return true;
};
self.logout = function () {