Skip to content
AsterDriveDeveloper
Security update: Docker images from v0.4.0-rc.1 fix the high-severity FFmpeg MagicYUV decoder vulnerability (CVE-2026-8461). Upgrade instances using older images immediately.View CVE advisory
Security update: v0.4.0-beta.3 fixes a WebDAV request issue that can terminate the server process. Upgrade older instances promptly.View advisory

First Start and the First Admin

The login page is not a fixed “login” or “register” page — it follows current state:

  • No users exist yet — the initialization flow runs, creating the first administrator directly
  • Users exist, and the entered account exists — sign in
  • Users exist, the entered account is new, and public registration is allowed — create a regular account
  • The administrator enabled external auth providers — the login page shows the matching external sign-in entries
  • The current browser supports Passkeys — the login page shows the Passkey entry
  • The account requires MFA — after password or external identity passes, a second factor is still required

Things to note:

  • The first account becomes administrator directly, without email activation
  • Regular accounts registered publicly afterwards must click the activation mail before signing in (activation mail depends on Mail Delivery)
  • After the administrator disables public registration, the login page only offers sign-in and password reset

Once the first administrator is created, the system enters the needs_storage state: there is no default storage policy yet, so uploads are not possible. Next steps:

  1. Create the first storage policy under Admin -> Storage Policies and set it as default; concepts and order in Storage Policies and Policy Groups
  2. Set Admin -> System Settings -> Site -> Public Site URL to the real HTTP(S) origin
  3. If you plan to open registration, password reset, or external auth, set up Mail Delivery first
  4. Walk through the First-Start Checklist before going live

This switch in config.toml only affects the default value written for auth_cookie_secure during first initialization:

[auth]
bootstrap_insecure_cookies = true
  • Plain-HTTP first trial — set true temporarily
  • Production HTTPS deployment — keep false

If the runtime setting already exists in the database, changing this later does not rewrite the old value; after moving to HTTPS for real, adjust it under Admin -> System Settings -> Auth and Cookies.