diff options
| author | Anthony Lavado <anthonylavado@users.noreply.github.com> | 2019-08-17 02:02:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-17 02:02:55 -0400 |
| commit | f41a608f11dd8369cccdb5dff11a54d41489c4a8 (patch) | |
| tree | 335cadb62ae190f68b0c81801354096b4ab7e856 /Emby.Server.Implementations/ApplicationHost.cs | |
| parent | 7a27dd8a1b7578a1dcef27f6852de1ae805a7d67 (diff) | |
| parent | 8d3b5c851ded74b9f34eb2cd963187761a3f6f61 (diff) | |
Merge pull request #1452 from Bond-009/usermanager2
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); |
