diff options
| author | Bond_009 <Bond.009@outlook.com> | 2019-06-09 22:08:01 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-08-16 21:06:11 +0200 |
| commit | 8d3b5c851ded74b9f34eb2cd963187761a3f6f61 (patch) | |
| tree | 335cadb62ae190f68b0c81801354096b4ab7e856 /Emby.Server.Implementations/ApplicationHost.cs | |
| parent | 7a27dd8a1b7578a1dcef27f6852de1ae805a7d67 (diff) | |
Improvements to UserManager
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index 0b3b81f94..c390ba635 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -770,7 +770,8 @@ namespace Emby.Server.Implementations _userRepository = GetUserRepository(); - UserManager = new UserManager(LoggerFactory, ServerConfigurationManager, _userRepository, XmlSerializer, NetworkManager, () => ImageProcessor, () => DtoService, this, JsonSerializer, FileSystemManager); + UserManager = new UserManager(LoggerFactory.CreateLogger<UserManager>(), _userRepository, XmlSerializer, NetworkManager, () => ImageProcessor, () => DtoService, this, JsonSerializer, FileSystemManager); + serviceCollection.AddSingleton(UserManager); LibraryManager = new LibraryManager(this, LoggerFactory, TaskManager, UserManager, ServerConfigurationManager, UserDataManager, () => LibraryMonitor, FileSystemManager, () => ProviderManager, () => UserViewManager); |
