Browse Source

Fix EasyPassword setting

crobibero 5 years ago
parent
commit
3d87c4c1b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jellyfin.Server.Implementations/Users/UserManager.cs

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

@@ -262,7 +262,7 @@ namespace Jellyfin.Server.Implementations.Users
         /// <inheritdoc/>
         /// <inheritdoc/>
         public void ChangeEasyPassword(User user, string newPassword, string newPasswordSha1)
         public void ChangeEasyPassword(User user, string newPassword, string newPasswordSha1)
         {
         {
-            GetAuthenticationProvider(user).ChangeEasyPassword(user, newPassword, newPasswordSha1);
+            user.EasyPassword = _cryptoProvider.CreatePasswordHash(newPassword).ToString();
             UpdateUser(user);
             UpdateUser(user);
 
 
             OnUserPasswordChanged?.Invoke(this, new GenericEventArgs<User>(user));
             OnUserPasswordChanged?.Invoke(this, new GenericEventArgs<User>(user));