feat(profile): show messenger connect success state
This commit is contained in:
@@ -158,6 +158,11 @@ async function consumeLoginToken(loginToken: string) {
|
||||
return;
|
||||
}
|
||||
await finalizeSession(payload.accessToken);
|
||||
const nextPath = typeof route.query.next === 'string' ? route.query.next : '';
|
||||
if (nextPath.startsWith('/')) {
|
||||
await navigateTo(nextPath);
|
||||
return;
|
||||
}
|
||||
await navigateAfterLogin(payload.user);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user