feat: change field password to hashedPassword

This commit is contained in:
=
2024-06-12 23:04:10 +05:30
parent e95109c446
commit 21bd468307
6 changed files with 10 additions and 10 deletions
@@ -264,7 +264,7 @@ export const authLoginServiceFactory = ({
await userDAL.updateUserEncryptionByUserId(userEnc.userId, {
serverPrivateKey: null,
clientPublicKey: null,
password: hashedPassword,
hashedPassword,
serverEncryptedPrivateKey: ciphertext,
serverEncryptedPrivateKeyIV: iv,
serverEncryptedPrivateKeyTag: tag,
@@ -92,7 +92,7 @@ export const authPaswordServiceFactory = ({
verifier,
serverPrivateKey: null,
clientPublicKey: null,
password: hashedPassword
hashedPassword
});
if (tokenVersionId) {
@@ -183,7 +183,7 @@ export const authSignupServiceFactory = ({
encryptedPrivateKey,
iv: encryptedPrivateKeyIV,
tag: encryptedPrivateKeyTag,
password: hashedPassword,
hashedPassword,
serverEncryptedPrivateKeyEncoding: encoding,
serverEncryptedPrivateKeyTag: tag,
serverEncryptedPrivateKeyIV: iv,
@@ -344,7 +344,7 @@ export const authSignupServiceFactory = ({
encryptedPrivateKey,
iv: encryptedPrivateKeyIV,
tag: encryptedPrivateKeyTag,
password: hashedPassword,
hashedPassword,
serverEncryptedPrivateKeyEncoding: encoding,
serverEncryptedPrivateKeyTag: tag,
serverEncryptedPrivateKeyIV: iv,