Skip to content

Commit

Permalink
fix(passport): get origin property from the request URL (#2759)
Browse files Browse the repository at this point in the history
  • Loading branch information
szkl authored Nov 9, 2023
1 parent 4ffa4ba commit 5ec405f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/passport/app/routes/connect/email/otp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const loader: LoaderFunction = getRollupReqFunctionErrorWrapper(
}

const state = await coreClient.account.generateEmailOTP.mutate({
passportURL: new URL(request.url).host,
passportURL: new URL(request.url).origin,
clientId,
email,
themeProps,
Expand Down

0 comments on commit 5ec405f

Please sign in to comment.