Skip to content

Commit

Permalink
Add missing param (#1023)
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodyowl authored Nov 25, 2024
1 parent 16fb018 commit 46b36a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/src/index.swan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ start({
const queryString = new URLSearchParams();
queryString.append("accountMembershipId", request.params.accountMembershipId);
queryString.append("projectId", request.params.projectId);
if (request.query.email != null) {
queryString.append("email", request.query.email);
}
return reply.redirect(`/auth/login?${queryString.toString()}`);
});

Expand Down

0 comments on commit 46b36a1

Please sign in to comment.