removes needless dictionary
This commit is contained in:
parent
4e2841f0d7
commit
86772bd7bd
|
@ -81,7 +81,6 @@ namespace Emby.Server.Implementations.Library
|
|||
|
||||
private IPasswordResetProvider[] _passwordResetProviders;
|
||||
private DefaultPasswordResetProvider _defaultPasswordResetProvider;
|
||||
private Dictionary<string, IPasswordResetProvider> _activeResets = new Dictionary<string, IPasswordResetProvider>();
|
||||
|
||||
public UserManager(
|
||||
ILoggerFactory loggerFactory,
|
||||
|
@ -908,7 +907,6 @@ namespace Emby.Server.Implementations.Library
|
|||
if (user != null && isInNetwork)
|
||||
{
|
||||
var passwordResetProvider = GetPasswordResetProvider(user);
|
||||
_activeResets.Add(user.Name, passwordResetProvider);
|
||||
return await passwordResetProvider.StartForgotPasswordProcess(user, isInNetwork).ConfigureAwait(false);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user