Enable nullable annotations

This commit is contained in:
Patrick Barron
2020-06-09 12:21:21 -04:00
parent d85308b474
commit ce737c31ec
5 changed files with 34 additions and 25 deletions

View File

@@ -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