Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: updated fail message over srp key generation as per review

=c5f361a3e571
diff --git a/backend/src/services/auth/auth-login-service.ts b/backend/src/services/auth/auth-login-service.ts
index c0a2e43889..2e42bd41c7 100644
--- a/backend/src/services/auth/auth-login-service.ts
+++ b/backend/src/services/auth/auth-login-service.ts
@@ -260,7 +260,10 @@ export const authLoginServiceFactory = ({
// from password decrypt the private key
if (password) {
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 "";
});
const hashedPassword = await bcrypt.hash(password, cfg.BCRYPT_SALT_ROUND);