Fix a couple bugs

This commit is contained in:
Patrick Barron
2020-05-23 14:53:24 -04:00
parent e3f9aaa9c6
commit 99511b3be8
2 changed files with 9 additions and 4 deletions

View File

@@ -53,7 +53,7 @@ namespace Jellyfin.Server.Implementations.Users
bool success = false;
// As long as jellyfin supports passwordless users, we need this little block here to accommodate
if (!HasPassword(resolvedUser))
if (!HasPassword(resolvedUser) && string.IsNullOrEmpty(password))
{
return Task.FromResult(new ProviderAuthenticationResult
{