mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 14:08:44 -04:00
Fix pin bug introduced in 10.3.z.
The issue is that the new easyPassword format prepends the hash function. This PR extract the hash from "$SHA1$_hash_".
This commit is contained in:
parent
bbc1a86b57
commit
c22068d6b1
2 changed files with 4 additions and 4 deletions
|
@ -550,7 +550,7 @@ namespace Emby.Server.Implementations.Library
|
|||
{
|
||||
return string.IsNullOrEmpty(user.EasyPassword)
|
||||
? null
|
||||
: user.EasyPassword;
|
||||
: (new PasswordHash(user.EasyPassword)).Hash;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue