Update Emby.Server.Implementations/Library/UserManager.cs
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
This commit is contained in:
parent
26fe4040bf
commit
4e2841f0d7
|
@ -398,7 +398,7 @@ namespace Emby.Server.Implementations.Library
|
||||||
|
|
||||||
private IPasswordResetProvider[] GetPasswordResetProviders(User user)
|
private IPasswordResetProvider[] GetPasswordResetProviders(User user)
|
||||||
{
|
{
|
||||||
var passwordResetProviderId = user == null ? null : user.Policy.PasswordResetProviderId;
|
var passwordResetProviderId = user?.Policy.PasswordResetProviderId;
|
||||||
|
|
||||||
var providers = _passwordResetProviders.Where(i => i.IsEnabled).ToArray();
|
var providers = _passwordResetProviders.Where(i => i.IsEnabled).ToArray();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user