mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 22:27:48 +00:00
feat: updated fail message over srp key generation as per review
This commit is contained in:
@@ -260,7 +260,10 @@ export const authLoginServiceFactory = ({
|
|||||||
// from password decrypt the private key
|
// from password decrypt the private key
|
||||||
if (password) {
|
if (password) {
|
||||||
const privateKey = await getUserPrivateKey(password, userEnc).catch((err) => {
|
const privateKey = await getUserPrivateKey(password, userEnc).catch((err) => {
|
||||||
logger.error(err, `private key generation failed for user id - ${user.id} and email -${user.email}`);
|
logger.error(
|
||||||
|
err,
|
||||||
|
`loginExchangeClientProof: private key generation failed for [userId=${user.id}] and [email=${user.email}] `
|
||||||
|
);
|
||||||
return "";
|
return "";
|
||||||
});
|
});
|
||||||
const hashedPassword = await bcrypt.hash(password, cfg.BCRYPT_SALT_ROUND);
|
const hashedPassword = await bcrypt.hash(password, cfg.BCRYPT_SALT_ROUND);
|
||||||
|
|||||||
Reference in New Issue
Block a user