Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

feat(#3748): redirect user to last selected team on login

Prince EKPINSEe5a5aeecb5ac
diff --git a/src/app/login/LoginForm.tsx b/src/app/login/LoginForm.tsx
index 021389852..481d7ccd9 100644
--- a/src/app/login/LoginForm.tsx
+++ b/src/app/login/LoginForm.tsx
@@ -25,7 +25,6 @@ export function LoginForm() {
onSuccess: async ({ token, user }) => {
setClientAuthToken(token);
setUser(user);
-
router.push('/');
},
});