diff --git a/README.md b/README.md index 67638748..602cb05c 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Maxun lets you train a robot in 2 minutes and scrape the web on auto-pilot. Web
Website |
- Discord |
+ Discord |
Twitter |
Join Maxun Cloud |
Watch Tutorials
diff --git a/server/src/routes/auth.ts b/server/src/routes/auth.ts
index 9240cc0c..4f99043d 100644
--- a/server/src/routes/auth.ts
+++ b/server/src/routes/auth.ts
@@ -85,6 +85,14 @@ router.post('/login', async (req, res) => {
res.cookie('token', token, {
httpOnly: true
})
+ capture(
+ 'maxun-oss-user-login',
+ {
+ email: user.email,
+ userId: user.id,
+ loggedInAt: new Date().toISOString()
+ }
+ )
res.json(user)
} catch (error: any) {
res.status(400).send(`Could not login user - ${error.message}`)
diff --git a/src/components/molecules/NavBar.tsx b/src/components/molecules/NavBar.tsx
index 88d4091a..30feef51 100644
--- a/src/components/molecules/NavBar.tsx
+++ b/src/components/molecules/NavBar.tsx
@@ -66,7 +66,7 @@ export const NavBar: React.FC