mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
feat(#3748): redirect user to last selected team on login
This commit is contained in:
parent
046cb6ef62
commit
e5a5aeecb5
1 changed files with 0 additions and 1 deletions
|
|
@ -25,7 +25,6 @@ export function LoginForm() {
|
||||||
onSuccess: async ({ token, user }) => {
|
onSuccess: async ({ token, user }) => {
|
||||||
setClientAuthToken(token);
|
setClientAuthToken(token);
|
||||||
setUser(user);
|
setUser(user);
|
||||||
|
|
||||||
router.push('/');
|
router.push('/');
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue