mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-19 11:42:52 +00:00
Add user aliases concept and weave LDAP into it
This commit is contained in:
@@ -137,7 +137,7 @@ export const registerSignupRouter = async (server: FastifyZodProvider) => {
|
||||
|
||||
void server.services.telemetry.sendPostHogEvents({
|
||||
event: PostHogEventTypes.UserSignedUp,
|
||||
distinctId: user.email ?? user.username ?? "",
|
||||
distinctId: user.username ?? "",
|
||||
properties: {
|
||||
email: user.email ?? "",
|
||||
attributionSource: req.body.attributionSource
|
||||
@@ -202,7 +202,7 @@ export const registerSignupRouter = async (server: FastifyZodProvider) => {
|
||||
|
||||
void server.services.telemetry.sendPostHogEvents({
|
||||
event: PostHogEventTypes.UserSignedUp,
|
||||
distinctId: user.email ?? user.username ?? "",
|
||||
distinctId: user.username ?? "",
|
||||
properties: {
|
||||
email: user.email ?? "",
|
||||
attributionSource: "Team Invite"
|
||||
|
||||
Reference in New Issue
Block a user