Explorar o código

Add missing property

Patrick Barron %!s(int64=5) %!d(string=hai) anos
pai
achega
824cd87b75
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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,