diff options
| author | Patrick Barron <barronpm@gmail.com> | 2020-05-30 00:19:36 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2020-05-30 00:19:36 -0400 |
| commit | c8fef9dd2ecfaa0a9fe3df7a26b0afcec823ba52 (patch) | |
| tree | 387c172edb396b380afedad1392f7957bb3ed831 /Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs | |
| parent | 4857b7d62097848eda7f3666b60e039b1df5b6b1 (diff) | |
Reimplement password resetting
Diffstat (limited to 'Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs')
| -rw-r--r-- | Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs b/Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs index c15312a72..4261f5b18 100644 --- a/Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs +++ b/Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs @@ -95,7 +95,7 @@ namespace Jellyfin.Server.Implementations.Users /// <inheritdoc /> public bool HasPassword(User user) - => !string.IsNullOrEmpty(user.Password); + => !string.IsNullOrEmpty(user?.Password); /// <inheritdoc /> public Task ChangePassword(User user, string newPassword) |
