2026-08-17 19:30:21 +02:00
|
|
|
<script>
|
|
|
|
|
/**
|
|
|
|
|
* The address an invite link points at.
|
|
|
|
|
*
|
|
|
|
|
* It exists as a route because the server has been emailing this URL since
|
|
|
|
|
* invites were built, and until now nothing answered for it: the SPA fallback
|
|
|
|
|
* served the app shell, the shell found no session, and the recipient was shown
|
|
|
|
|
* a plain sign-in form for an account they did not have yet. A 200 the whole
|
|
|
|
|
* way, which is exactly how that class of bug hides here.
|
|
|
|
|
*
|
|
|
|
|
* The form is SignIn's: signing up from an invite is one branch of signing in,
|
|
|
|
|
* and it reads the token out of the URL itself.
|
|
|
|
|
*/
|
|
|
|
|
import SignIn from '$lib/components/SignIn.svelte';
|
2026-10-07 01:11:25 +02:00
|
|
|
// Udgavens navn i titlen. Siden her tegner først, når layoutets `app.load()`
|
|
|
|
|
// har svaret, så udgaven er kendt — også uden en session, hvilket er hele
|
|
|
|
|
// pointen med den her rute.
|
|
|
|
|
import { app } from '$lib/stores.svelte.js';
|
2026-08-17 19:30:21 +02:00
|
|
|
</script>
|
|
|
|
|
|
2026-10-07 01:11:25 +02:00
|
|
|
<svelte:head><title>Invitation · {app.productSlug}</title></svelte:head>
|
2026-08-17 19:30:21 +02:00
|
|
|
|
|
|
|
|
<SignIn />
|