some more authentik stuff

This commit is contained in:
2024-10-31 02:38:33 -07:00
parent 0901e242eb
commit 5fc9cf25c8
5 changed files with 55 additions and 2 deletions

View File

@@ -1,7 +1,14 @@
<script lang="ts">
import { AuthForm } from "$lib/components/app/auth-form";
import { AuthForm } from '$lib/components/app/auth-form';
const { data } = $props();
const { user } = data;
</script>
<h1>Welcome to SvelteKit</h1>
<AuthForm />
{#if user }
<p>Hi {user.name}</p>
{:else}
<AuthForm class="p-4" />
{/if}