Skip to content

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

fixed the email issue

Vladyslav Matsiiako08a4404fedcb
diff --git a/backend/src/controllers/v3/signupController.ts b/backend/src/controllers/v3/signupController.ts
index 1f4a420dd2..61b4612dc4 100644
--- a/backend/src/controllers/v3/signupController.ts
+++ b/backend/src/controllers/v3/signupController.ts
@@ -169,7 +169,7 @@ export const completeAccountSignup = async (req: Request, res: Response) => {
if (postHogClient) {
postHogClient.capture({
event: 'User Signed Up',
- distinctId: req.user.email,
+ distinctId: email,
properties: {
email,
attributionSource