Skip to main content

ensure_bootstrap

Function ensure_bootstrap 

Source
pub async fn ensure_bootstrap(pool: &SqlitePool, cfg: &Config) -> Result<()>
Expand description

First-run bootstrap: when auth is enabled and no users exist yet, seed an admin from env.