From bb2ba1468bc49ad21d228a55b3acb25a619e9830 Mon Sep 17 00:00:00 2001 From: Patrick-Pimentel-Bitwarden Date: Thu, 11 Dec 2025 17:44:41 -0500 Subject: [PATCH] Update src/Core/Auth/Models/Api/Request/Accounts/RegisterFinishRequestModel.cs Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> --- .../Models/Api/Request/Accounts/RegisterFinishRequestModel.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Core/Auth/Models/Api/Request/Accounts/RegisterFinishRequestModel.cs b/src/Core/Auth/Models/Api/Request/Accounts/RegisterFinishRequestModel.cs index 304a90f50b..b185f8db3c 100644 --- a/src/Core/Auth/Models/Api/Request/Accounts/RegisterFinishRequestModel.cs +++ b/src/Core/Auth/Models/Api/Request/Accounts/RegisterFinishRequestModel.cs @@ -65,6 +65,7 @@ public class RegisterFinishRequestModel : IValidatableObject MasterPasswordHint = MasterPasswordHint, Kdf = MasterPasswordUnlockData?.Kdf.KdfType ?? Kdf ?? throw new Exception("KdfType couldn't be found on either the MasterPasswordUnlockData or the Kdf property passed in."), KdfIterations = MasterPasswordUnlockData?.Kdf.Iterations ?? KdfIterations ?? throw new Exception("KdfIterations couldn't be found on either the MasterPasswordUnlockData or the KdfIterations property passed in."), + // KdfMemory and KdfParallelism are optional (only used for Argon2id) KdfMemory = MasterPasswordUnlockData?.Kdf.Memory ?? KdfMemory, KdfParallelism = MasterPasswordUnlockData?.Kdf.Parallelism ?? KdfParallelism, // PM-28827 To be added when MasterPasswordSalt is added to the user column