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:
parent
69083dde3b
commit
a0ff8fc2a5
1 changed files with 4 additions and 1 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue