aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2020-05-23 14:53:24 -0400
committerPatrick Barron <barronpm@gmail.com>2020-05-23 14:53:24 -0400
commit99511b3be8dd63d832336c65b72d0c17efb9bc6b (patch)
tree35bd2657bc8d422f92a992e94afa9417a5050f5a /Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
parente3f9aaa9c62d44854c3ea667c670d6b5a76c0254 (diff)
Fix a couple bugs
Diffstat (limited to 'Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs')
-rw-r--r--Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs b/Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
index df730731a..c15312a72 100644
--- a/Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
+++ b/Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
@@ -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
{