Don't set a default reset provider

pull/1447/head
Joshua M. Boniface 6 years ago
parent 20e2cb2d86
commit c230d49d7c

@ -425,11 +425,6 @@ namespace Emby.Server.Implementations.Library
providers = providers.Where(i => string.Equals(passwordResetProviderId, GetPasswordResetProviderId(i), StringComparison.OrdinalIgnoreCase)).ToArray(); providers = providers.Where(i => string.Equals(passwordResetProviderId, GetPasswordResetProviderId(i), StringComparison.OrdinalIgnoreCase)).ToArray();
} }
if (providers.Length == 0)
{
providers = new IPasswordResetProvider[] { _defaultPasswordResetProvider };
}
return providers; return providers;
} }

Loading…
Cancel
Save