Register ISessionContext correctly
This commit is contained in:
parent
3147111471
commit
358deecf52
|
@ -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 New Issue
Block a user