diff options
| author | crobibero <cody@robibe.ro> | 2020-06-07 14:55:37 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-06-07 14:55:37 -0600 |
| commit | 3d87c4c1b6bca920f444b4a16a99553d0ff6879e (patch) | |
| tree | 8bd017eea777de3be33faae28c6fcdce466f7f48 | |
| parent | 68e1ecaaf9626c9596c833571bb591a326449dc8 (diff) | |
Fix EasyPassword setting
| -rw-r--r-- | Jellyfin.Server.Implementations/Users/UserManager.cs | 2 |
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)); |
