little fixes for JustAMan
This commit is contained in:
parent
48e7274d37
commit
56e3063342
|
@ -132,8 +132,7 @@ namespace Emby.Server.Implementations.Cryptography
|
|||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
iterations = defaultiterations;
|
||||
throw new Exception($"Couldn't successfully parse iterations value from string:{hash.Parameters["iterations"]}", e);
|
||||
throw new InvalidDataException($"Couldn't successfully parse iterations value from string: {hash.Parameters["iterations"]}", e);
|
||||
}
|
||||
}
|
||||
return PBKDF2(hash.Id, hash.HashBytes, hash.SaltBytes, iterations);
|
||||
|
|
Loading…
Reference in New Issue
Block a user