B2B-30: adds personal code to account, company admins invites members
This commit is contained in:
@@ -109,10 +109,7 @@ async function JoinTeamAccountPage(props: JoinTeamAccountPageProps) {
|
||||
const signOutNext = `${pathsConfig.auth.signIn}?invite_token=${token}`;
|
||||
|
||||
// once the user accepts the invitation, we redirect them to the account home page
|
||||
const accountHome = pathsConfig.app.accountHome.replace(
|
||||
'[account]',
|
||||
invitation.account.slug,
|
||||
);
|
||||
const accountHome = pathsConfig.app.home;
|
||||
|
||||
const email = auth.data.email ?? '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user