The Free Software Media System - Server Backend & API
Fix EasyPassword setting
crobibero3d87c4c1b6bc
diff --git a/Jellyfin.Server.Implementations/Users/UserManager.cs b/Jellyfin.Server.Implementations/Users/UserManager.csindex 01151e65e4..35ec78f5c5 100644--- a/Jellyfin.Server.Implementations/Users/UserManager.cs+++ b/Jellyfin.Server.Implementations/Users/UserManager.cs@@ -262,7 +262,7 @@ namespace Jellyfin.Server.Implementations.Users/// <inheritdoc/>public void ChangeEasyPassword(User user, string newPassword, string newPasswordSha1){- GetAuthenticationProvider(user).ChangeEasyPassword(user, newPassword, newPasswordSha1);+ user.EasyPassword = _cryptoProvider.CreatePasswordHash(newPassword).ToString();UpdateUser(user);OnUserPasswordChanged?.Invoke(this, new GenericEventArgs<User>(user));