aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2020-05-20 00:23:56 -0400
committerPatrick Barron <barronpm@gmail.com>2020-05-20 10:04:00 -0400
commit64c14beb27348daf0f440b5b1bc31ccb2987f9ff (patch)
treea3394369564c689d9d5ad87b59ca8e63566119c0 /Jellyfin.Server.Implementations
parent1d1a145ad4386b39b983d539001abfccf5f53b23 (diff)
Fix default permissions and HasPassword property
Diffstat (limited to 'Jellyfin.Server.Implementations')
-rw-r--r--Jellyfin.Server.Implementations/Users/UserManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Users/UserManager.cs b/Jellyfin.Server.Implementations/Users/UserManager.cs
index 18616f75f..4dd41792d 100644
--- a/Jellyfin.Server.Implementations/Users/UserManager.cs
+++ b/Jellyfin.Server.Implementations/Users/UserManager.cs
@@ -288,7 +288,7 @@ namespace Jellyfin.Server.Implementations.Users
Name = user.Username,
Id = user.Id,
ServerId = _appHost.SystemId,
- HasPassword = user.Password == null,
+ HasPassword = user.Password != null,
EnableAutoLogin = user.EnableAutoLogin,
LastLoginDate = user.LastLoginDate,
LastActivityDate = user.LastActivityDate,