Include domain on login page

This commit is contained in:
Neshura 2024-04-26 01:16:38 +02:00
parent 352a1b857e
commit 2ae90a5639
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@ import { zod } from "sveltekit-superforms/adapters";
export const load: PageServerLoad = async () => {
return {
form: await superValidate(zod(formSchema)),
origin: process.env.ORIGIN,
};
};

View file

@ -13,7 +13,7 @@
<div class="h-full flex flex-col items-center justify-center">
<Card.Root class="border-2 p-2">
<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.Header>
<Card.Content>