diff options
| author | Patrick Barron <barronpm@gmail.com> | 2020-06-09 12:21:21 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2020-06-09 13:35:29 -0400 |
| commit | ce737c31ec3673caed8673253bd7c5efe7bde4a8 (patch) | |
| tree | eae9c702a474dc445ae0644c89737215cb0ea27e /Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs | |
| parent | d85308b4747b62ec510760229c25f8b863ff7abc (diff) | |
Enable nullable annotations
Diffstat (limited to 'Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs')
| -rw-r--r-- | Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs b/Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs index b0c02030e..162dc6f5e 100644 --- a/Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs +++ b/Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs @@ -1,3 +1,5 @@ +#nullable enable + using System; using System.Linq; using System.Text; @@ -129,7 +131,7 @@ namespace Jellyfin.Server.Implementations.Users } /// <inheritdoc /> - public string GetEasyPasswordHash(User user) + public string? GetEasyPasswordHash(User user) { return string.IsNullOrEmpty(user.EasyPassword) ? null |
