From a862337eadd69e0a2d9f45e5186bae20fe264671 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Sun, 1 Sep 2019 11:28:07 +0200 Subject: [PATCH] Removed obsolete code. --- src/Radarr.Http/Authentication/AuthenticationService.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Radarr.Http/Authentication/AuthenticationService.cs b/src/Radarr.Http/Authentication/AuthenticationService.cs index 214c0e82c..88615a93c 100644 --- a/src/Radarr.Http/Authentication/AuthenticationService.cs +++ b/src/Radarr.Http/Authentication/AuthenticationService.cs @@ -28,7 +28,6 @@ namespace Radarr.Http.Authentication private static readonly Logger _authLogger = LogManager.GetLogger("Auth"); private const string AnonymousUser = "Anonymous"; private readonly IUserService _userService; - private readonly NancyContext _nancyContext; private static string API_KEY; private static AuthenticationType AUTH_METHOD; @@ -36,10 +35,9 @@ namespace Radarr.Http.Authentication [ThreadStatic] private static NancyContext _context; - public AuthenticationService(IConfigFileProvider configFileProvider, IUserService userService, NancyContext nancyContext) + public AuthenticationService(IConfigFileProvider configFileProvider, IUserService userService) { _userService = userService; - _nancyContext = nancyContext; API_KEY = configFileProvider.ApiKey; AUTH_METHOD = configFileProvider.AuthenticationMethod; }