The Free Software Media System - Server Backend & API
Add another missing property
Patrick Barrond85308b4747b
diff --git a/Jellyfin.Server.Implementations/Users/UserManager.cs b/Jellyfin.Server.Implementations/Users/UserManager.csindex 5ed3758fb5..2d077a6b20 100644--- a/Jellyfin.Server.Implementations/Users/UserManager.cs+++ b/Jellyfin.Server.Implementations/Users/UserManager.cs@@ -271,12 +271,14 @@ namespace Jellyfin.Server.Implementations.Users/// <inheritdoc/>public UserDto GetUserDto(User user, string remoteEndPoint = null){+ var hasPassword = GetAuthenticationProvider(user).HasPassword(user);return new UserDto{Name = user.Username,Id = user.Id,ServerId = _appHost.SystemId,- HasPassword = GetAuthenticationProvider(user).HasPassword(user),+ HasPassword = hasPassword,+ HasConfiguredPassword = hasPassword,HasConfiguredEasyPassword = !string.IsNullOrEmpty(user.EasyPassword),EnableAutoLogin = user.EnableAutoLogin,LastLoginDate = user.LastLoginDate,