ui/BootstrapForm.svelte

First-keeper bootstrap form — used once on a fresh deployment to claim the bootstrap token and create the initial admin account.

Calls AuthState.bootstrap (POST /api/account/bootstrap) via auth_state_context. Validates token + Username schema + PASSWORD_LENGTH_MIN + password match client-side; submit focuses the first invalid field. Once an account exists, the bootstrap path is disabled server-side and this form should not be mounted.

view source

Declarations
#

BootstrapForm
#

ui/BootstrapForm.svelte view source

import BootstrapForm from '@fuzdev/fuz_app/ui/BootstrapForm.svelte';

redirect_on_bootstrap?

Path to navigate to after the first-keeper account is created.

type string
optional default resolve('/')

Depends on
#