mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Update Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
fix to styling Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
This commit is contained in:
parent
77602aff88
commit
9e58e31de0
@ -115,7 +115,7 @@ namespace Emby.Server.Implementations.Library
|
||||
//string newPasswordHash = null;
|
||||
ConvertPasswordFormat(user);
|
||||
PasswordHash passwordHash = new PasswordHash(user.Password);
|
||||
if(passwordHash.Id == "SHA1" && string.IsNullOrEmpty(passwordHash.Salt))
|
||||
if (passwordHash.Id == "SHA1" && string.IsNullOrEmpty(passwordHash.Salt))
|
||||
{
|
||||
passwordHash.SaltBytes = _cryptographyProvider.GenerateSalt();
|
||||
passwordHash.Salt = PasswordHash.ConvertToByteString(passwordHash.SaltBytes);
|
||||
|
Loading…
x
Reference in New Issue
Block a user