Browse Source

Add missing property

Patrick Barron 5 năm trước cách đây
mục cha
commit
824cd87b75
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      Jellyfin.Server.Implementations/Users/UserManager.cs

+ 1 - 0
Jellyfin.Server.Implementations/Users/UserManager.cs

@@ -277,6 +277,7 @@ namespace Jellyfin.Server.Implementations.Users
                 Id = user.Id,
                 ServerId = _appHost.SystemId,
                 HasPassword = GetAuthenticationProvider(user).HasPassword(user),
+                HasConfiguredEasyPassword = !string.IsNullOrEmpty(user.EasyPassword),
                 EnableAutoLogin = user.EnableAutoLogin,
                 LastLoginDate = user.LastLoginDate,
                 LastActivityDate = user.LastActivityDate,