Include domain on login page
This commit is contained in:
parent
352a1b857e
commit
2ae90a5639
2 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ import { zod } from "sveltekit-superforms/adapters";
|
||||||
export const load: PageServerLoad = async () => {
|
export const load: PageServerLoad = async () => {
|
||||||
return {
|
return {
|
||||||
form: await superValidate(zod(formSchema)),
|
form: await superValidate(zod(formSchema)),
|
||||||
|
origin: process.env.ORIGIN,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<div class="h-full flex flex-col items-center justify-center">
|
<div class="h-full flex flex-col items-center justify-center">
|
||||||
<Card.Root class="border-2 p-2">
|
<Card.Root class="border-2 p-2">
|
||||||
<Card.Header>
|
<Card.Header>
|
||||||
<Card.Title class="text-center">Login</Card.Title>
|
<Card.Title class="text-center">Login to {data.origin}</Card.Title>
|
||||||
<Card.Description></Card.Description>
|
<Card.Description></Card.Description>
|
||||||
</Card.Header>
|
</Card.Header>
|
||||||
<Card.Content>
|
<Card.Content>
|
||||||
|
|
Loading…
Reference in a new issue