mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue