mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 10:04:44 +01:00
run all ajax through apiclient
This commit is contained in:
@@ -671,7 +671,7 @@ namespace MediaBrowser.ServerApplication
|
||||
var authContext = new AuthorizationContext();
|
||||
RegisterSingleInstance<IAuthorizationContext>(authContext);
|
||||
RegisterSingleInstance<ISessionContext>(new SessionContext(UserManager, authContext, SessionManager));
|
||||
RegisterSingleInstance<IAuthService>(new AuthService());
|
||||
RegisterSingleInstance<IAuthService>(new AuthService(UserManager, SessionManager, authContext));
|
||||
|
||||
RegisterSingleInstance<ISubtitleEncoder>(new SubtitleEncoder(LibraryManager, LogManager.GetLogger("SubtitleEncoder"), ApplicationPaths, FileSystemManager, MediaEncoder));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user