mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
quick fix for auth bug
This commit is contained in:
parent
fcee64df09
commit
221389089c
@ -52,7 +52,7 @@ namespace Emby.Server.Implementations.Library
|
|||||||
PasswordHash readyHash = new PasswordHash(resolvedUser.Password);
|
PasswordHash readyHash = new PasswordHash(resolvedUser.Password);
|
||||||
byte[] calculatedHash;
|
byte[] calculatedHash;
|
||||||
string calculatedHashString;
|
string calculatedHashString;
|
||||||
if (_cryptographyProvider.GetSupportedHashMethods().Contains(readyHash.Id))
|
if (_cryptographyProvider.GetSupportedHashMethods().Contains(readyHash.Id) || _cryptographyProvider.DefaultHashMethod == readyHash.Id)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(readyHash.Salt))
|
if (string.IsNullOrEmpty(readyHash.Salt))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user