aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-06-07 14:55:37 -0600
committercrobibero <cody@robibe.ro>2020-06-07 14:55:37 -0600
commit3d87c4c1b6bca920f444b4a16a99553d0ff6879e (patch)
tree8bd017eea777de3be33faae28c6fcdce466f7f48
parent68e1ecaaf9626c9596c833571bb591a326449dc8 (diff)
Fix EasyPassword setting
-rw-r--r--Jellyfin.Server.Implementations/Users/UserManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Users/UserManager.cs b/Jellyfin.Server.Implementations/Users/UserManager.cs
index 01151e65e..35ec78f5c 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));