You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c74edff
Browse filesBrowse the repository at this point in the historyBrowse files
* fix(users,host): align .env loading + dev-quick-login resolution (#158, #159)
- host/main.py + scaffold template: merge .env into os.environ before
importing Settings, so framework code reading os.environ directly sees
the same values pydantic-settings does. Scaffold template also chdirs
to the workspace root so cwd-relative paths in .env resolve under
`cd host && uvicorn main:app`.
- users.bootstrap: extract resolve_bootstrap_credentials(settings) — the
three-tier (settings → os.environ → .env) resolver shared between the
boot-time admin seeder and the login-page dev_accounts builder.
- auth_local.views.login_page: use the shared resolver so the
"Dev quick-login" buttons appear iff an admin would actually be seeded
(previously checked only settings + os.environ, missing the .env path).
- Tests: unit coverage for the resolver's three tiers + a login-page
regression that exercises the .env fallback end-to-end. Scaffold
regression test asserts the dotenv load precedes the Settings import.
* chore: add verification screenshot
0 commit comments