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

remove some connect references

This commit is contained in:
dkanada 2019-01-11 20:37:32 +09:00
parent 1967d248a7
commit 20286dd81e
2 changed files with 2 additions and 179 deletions

View file

@ -14,9 +14,6 @@ define(['loading', 'globalize', 'events', 'viewManager', 'layoutManager', 'skinM
showWelcome: function () {
show('/startup/welcome.html');
},
showConnectLogin: function () {
show('/startup/connectlogin.html');
},
showSettings: function () {
show('/settings/settings.html');
},
@ -271,14 +268,8 @@ define(['loading', 'globalize', 'events', 'viewManager', 'layoutManager', 'skinM
// Bounce to the login screen, but not if a password entry fails, obviously
if (!isCurrentAllowed) {
showForcedLogoutMessage(globalize.translate('sharedcomponents#AccessRestrictedTryAgainLater'));
if (connectionManager.isLoggedIntoConnect()) {
appRouter.showConnectLogin();
} else {
appRouter.showLocalLogin(apiClient.serverId());
}
appRouter.showLocalLogin(apiClient.serverId());
}
}
@ -565,7 +556,7 @@ define(['loading', 'globalize', 'events', 'viewManager', 'layoutManager', 'skinM
return;
}
// This must result in a call to either
// This must result in a call to either
// skinManager.loadUserSkin();
// Logout
// Or exit app