Skip to content

Commit

Permalink
Auth Controller Change
Browse files Browse the repository at this point in the history
  • Loading branch information
roshanbellary committed Jan 17, 2025
2 parents 99e8dbd + f1f4ef5 commit 898cd5d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions server/src/controllers/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,17 @@ const logout = async (
}
});
}
<<<<<<< HEAD
=======
// Datadog logout
logger_info.info('Logout');

// Mixpanel logout tracking
mixpanel.track('Logout', {
distinct_id: req.user ? (req.user as IUser)._id : undefined,
email: req.user ? (req.user as IUser).email : undefined,
});
>>>>>>> f1f4ef540e1b7be713682effef4065efbcd7b07e
});
};

Expand Down

0 comments on commit 898cd5d

Please sign in to comment.