1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Removed obsolete code.

This commit is contained in:
Taloth Saldono 2019-09-01 11:28:07 +02:00 committed by Qstick
parent 79cf3079c3
commit a862337ead

View File

@ -28,7 +28,6 @@ public class AuthenticationService : IAuthenticationService
private static readonly Logger _authLogger = LogManager.GetLogger("Auth"); private static readonly Logger _authLogger = LogManager.GetLogger("Auth");
private const string AnonymousUser = "Anonymous"; private const string AnonymousUser = "Anonymous";
private readonly IUserService _userService; private readonly IUserService _userService;
private readonly NancyContext _nancyContext;
private static string API_KEY; private static string API_KEY;
private static AuthenticationType AUTH_METHOD; private static AuthenticationType AUTH_METHOD;
@ -36,10 +35,9 @@ public class AuthenticationService : IAuthenticationService
[ThreadStatic] [ThreadStatic]
private static NancyContext _context; private static NancyContext _context;
public AuthenticationService(IConfigFileProvider configFileProvider, IUserService userService, NancyContext nancyContext) public AuthenticationService(IConfigFileProvider configFileProvider, IUserService userService)
{ {
_userService = userService; _userService = userService;
_nancyContext = nancyContext;
API_KEY = configFileProvider.ApiKey; API_KEY = configFileProvider.ApiKey;
AUTH_METHOD = configFileProvider.AuthenticationMethod; AUTH_METHOD = configFileProvider.AuthenticationMethod;
} }