Update comment placement for salt-related tech debt

This commit is contained in:
Eli Grubb
2026-03-10 14:43:16 -06:00
parent 2ceb14327d
commit e75983d17b
2 changed files with 4 additions and 0 deletions

View File

@@ -531,6 +531,8 @@ public class UserRepository : Repository<User, Guid>, IUserRepository
KdfIterations = masterPasswordUnlockData.Kdf.Iterations,
KdfMemory = masterPasswordUnlockData.Kdf.Memory,
KdfParallelism = masterPasswordUnlockData.Kdf.Parallelism,
// PM-28827 TODO after MasterPasswordSalt is added to the user column
// MasterPasswordSalt = masterPasswordUnlockData.Salt;
Key = masterPasswordUnlockData.MasterKeyWrappedUserKey,
RevisionDate = timestamp,
AccountRevisionDate = timestamp,

View File

@@ -595,6 +595,8 @@ public class UserRepository : Repository<Core.Entities.User, User, Guid>, IUserR
userEntity.KdfIterations = masterPasswordUnlockData.Kdf.Iterations;
userEntity.KdfMemory = masterPasswordUnlockData.Kdf.Memory;
userEntity.KdfParallelism = masterPasswordUnlockData.Kdf.Parallelism;
// PM-28827 TODO after MasterPasswordSalt is added to the user column
// userEntity.MasterPasswordSalt = masterPasswordUnlockData.Salt;
userEntity.Key = masterPasswordUnlockData.MasterKeyWrappedUserKey;
userEntity.RevisionDate = timestamp;
userEntity.AccountRevisionDate = timestamp;