feat: implement registration page with Turnstile verification and loading state

This commit is contained in:
2026-01-01 10:14:06 -05:00
parent 848b8598e5
commit 24b25c2291
2 changed files with 43 additions and 4 deletions
@@ -0,0 +1,11 @@
import type { PageServerLoad } from './$types';
export const load: PageServerLoad = async ({ fetch }) => {
try {
const res = await fetch('/api/auth/info');
const options = await res.json();
return { options };
} catch {
return { options: null };
}
};