Fix default permissions and HasPassword property

This commit is contained in:
Patrick Barron
2020-05-20 00:23:56 -04:00
parent 1d1a145ad4
commit 64c14beb27
2 changed files with 4 additions and 4 deletions

View File

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