1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

[PM-3777[PM-3633] Update minimum KDF iterations when creating new User record (#3687)

* Updated minimum iterations on new Users to the default.

* Fixed test I missed.
This commit is contained in:
Todd Martin
2024-01-25 10:59:53 -05:00
committed by GitHub
parent bac06763f5
commit 2763345e9e
5 changed files with 6 additions and 5 deletions

View File

@ -58,7 +58,7 @@ public class AccountsControllerTests : IDisposable
var userKdfInfo = new UserKdfInformation
{
Kdf = KdfType.PBKDF2_SHA256,
KdfIterations = 5000
KdfIterations = AuthConstants.PBKDF2_ITERATIONS.Default
};
_userRepository.GetKdfInformationByEmailAsync(Arg.Any<string>()).Returns(Task.FromResult(userKdfInfo));