aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/CoreAppHost.cs
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2021-06-27 16:45:41 -0400
committerPatrick Barron <barronpm@gmail.com>2021-06-27 16:45:41 -0400
commitaf2e7aec2ecff589c91b8064b1dff2ff5afcf172 (patch)
tree0b1d13f818da09b8d67d73959705a9aab4596a88 /Jellyfin.Server/CoreAppHost.cs
parentfdba71e133f980cfbea3e198cf5236528e753fa2 (diff)
Add missing service registration for IAuthenticationManager
Diffstat (limited to 'Jellyfin.Server/CoreAppHost.cs')
-rw-r--r--Jellyfin.Server/CoreAppHost.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Jellyfin.Server/CoreAppHost.cs b/Jellyfin.Server/CoreAppHost.cs
index e480b9a69..d41b5f74e 100644
--- a/Jellyfin.Server/CoreAppHost.cs
+++ b/Jellyfin.Server/CoreAppHost.cs
@@ -20,6 +20,7 @@ using MediaBrowser.Controller.Drawing;
using MediaBrowser.Controller.Events;
using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.Net;
+using MediaBrowser.Controller.Security;
using MediaBrowser.Model.Activity;
using MediaBrowser.Model.IO;
using Microsoft.EntityFrameworkCore;
@@ -97,6 +98,8 @@ namespace Jellyfin.Server
ServiceCollection.AddSingleton<IAuthorizationContext, AuthorizationContext>();
+ ServiceCollection.AddScoped<IAuthenticationManager, AuthenticationManager>();
+
base.RegisterServices();
}