mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-19 12:02:56 +02:00
Register ISessionContext correctly
This commit is contained in:
parent
3147111471
commit
358deecf52
1 changed files with 1 additions and 1 deletions
|
|
@ -840,7 +840,7 @@ namespace Emby.Server.Implementations
|
|||
|
||||
var authContext = new AuthorizationContext(AuthenticationRepository, UserManager);
|
||||
serviceCollection.AddSingleton<IAuthorizationContext>(authContext);
|
||||
serviceCollection.AddSingleton<ISessionContext>(new SessionContext(UserManager, authContext, SessionManager));
|
||||
serviceCollection.AddSingleton<ISessionContext, SessionContext>();
|
||||
|
||||
serviceCollection.AddSingleton<IAuthService, AuthService>();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue