Skip to content

Commit

Permalink
Fix invite email login callback url
Browse files Browse the repository at this point in the history
  • Loading branch information
PopDaph committed Oct 12, 2023
1 parent 2f23dbb commit 4e08c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/pages/w/[wId]/join.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const getServerSideProps: GetServerSideProps<{
signUpCallbackUrl = `/api/login?wId=${wId}&cId=${cId}&join=true`;
break;
case "email_invite":
signUpCallbackUrl = `/api/login?wId=${wId}&inviteToken=${token}`;
signUpCallbackUrl = `/api/login?inviteToken=${token}`;
break;
case "domain_invite_link":
signUpCallbackUrl = `/api/login?wId=${wId}`;
Expand Down

0 comments on commit 4e08c1e

Please sign in to comment.