aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Core
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-05-26 12:25:43 -0400
committerGitHub <noreply@github.com>2017-05-26 12:25:43 -0400
commit84077e824df3bda4f74e12b961d4e962b0e04a42 (patch)
treeb2df17cd1648ef4c6fe16610abce2e04af8dfa7e /Emby.Server.Core
parent40bc3b7b2205d7bc0802cf81bf199c655b81efd7 (diff)
parent89ba154522ed12f7ba64cc8190843f20795c728e (diff)
Merge pull request #2666 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Core')
-rw-r--r--Emby.Server.Core/ApplicationHost.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Core/ApplicationHost.cs b/Emby.Server.Core/ApplicationHost.cs
index 7a13334e4..690e4c488 100644
--- a/Emby.Server.Core/ApplicationHost.cs
+++ b/Emby.Server.Core/ApplicationHost.cs
@@ -589,7 +589,7 @@ namespace Emby.Server.Core
FileOrganizationRepository = GetFileOrganizationRepository();
RegisterSingleInstance(FileOrganizationRepository);
- AuthenticationRepository = await GetAuthenticationRepository().ConfigureAwait(false);
+ AuthenticationRepository = GetAuthenticationRepository();
RegisterSingleInstance(AuthenticationRepository);
UserManager = new UserManager(LogManager.GetLogger("UserManager"), ServerConfigurationManager, UserRepository, XmlSerializer, NetworkManager, () => ImageProcessor, () => DtoService, () => ConnectManager, this, JsonSerializer, FileSystemManager, CryptographyProvider, _defaultUserNameFactory());
@@ -948,7 +948,7 @@ namespace Emby.Server.Core
return repo;
}
- private async Task<IAuthenticationRepository> GetAuthenticationRepository()
+ private IAuthenticationRepository GetAuthenticationRepository()
{
var repo = new AuthenticationRepository(LogManager.GetLogger("AuthenticationRepository"), ServerConfigurationManager.ApplicationPaths);