Revert "use origin header instead of host"

This reverts commit 017c3215eb.
This commit is contained in:
Max Peintner
2024-12-03 14:56:21 +01:00
parent 017c3215eb
commit 36db734343
9 changed files with 40 additions and 32 deletions

View File

@@ -31,7 +31,7 @@ export default async function Page(props: {
const loginSettings = await getLoginSettings(organization);
const origin = (await headers()).get("origin");
const host = (await headers()).get("host");
return (
<DynamicTheme branding={branding}>
@@ -70,7 +70,7 @@ export default async function Page(props: {
organization={organization}
method={method}
loginSettings={loginSettings}
origin={origin}
host={host}
code={code}
></LoginOTP>
)}