mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
move usersettings to server
This commit is contained in:
parent
8fc34293c7
commit
5ec5a0d9fa
48 changed files with 1295 additions and 815 deletions
|
@ -462,7 +462,12 @@
|
|||
// Ensure this is created so that listeners of the event can get the apiClient instance
|
||||
getOrAddApiClient(server, connectionMode);
|
||||
|
||||
events.trigger(self, 'localusersignedin', [user]);
|
||||
// This allows the app to have a single hook that fires before any other
|
||||
var promise = self.onLocalUserSignedIn ? self.onLocalUserSignedIn.call(self, user) : Promise.resolve();
|
||||
|
||||
promise.then(function () {
|
||||
events.trigger(self, 'localusersignedin', [user]);
|
||||
});
|
||||
}
|
||||
|
||||
function ensureConnectUser(credentials) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue