fix company creation for admin and inviting of new employees
This commit is contained in:
@@ -39,17 +39,7 @@ async function VerifyPage(props: Props) {
|
||||
redirect(pathsConfig.auth.signIn);
|
||||
}
|
||||
|
||||
const nextPath = (await props.searchParams).next;
|
||||
const redirectPath = nextPath ?? pathsConfig.app.home;
|
||||
|
||||
return (
|
||||
<MultiFactorChallengeContainer
|
||||
userId={user.id}
|
||||
paths={{
|
||||
redirectPath,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
return <MultiFactorChallengeContainer userId={user.id} />;
|
||||
}
|
||||
|
||||
export default withI18n(VerifyPage);
|
||||
|
||||
Reference in New Issue
Block a user