mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-08-11 00:30:12 -04:00
_env_bool returned the default for anything outside {true,1,yes}, so
BAMBUDDY_OIDC_REQUIRE_EMAIL_VERIFIED=on silently read as OFF and
BAMBUDDY_OIDC_ENABLED=on silently disabled the provider -- the exact
opposite of what .env.example claimed. Unrecognized values now raise
EnvOIDCConfigError, caught in _apply_env_oidc_provider the same way a
bad DEFAULT_GROUP or a ValidationError already is: logged and left
running, never released on a typo.
Also promotes _env_bool to env_bool now that it has a call site in
auth.py, and corrects the boolean-parsing sentence in .env.example.
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| asyncio_handlers.py | ||
| auth.py | ||
| catalog_defaults.py | ||
| compat.py | ||
| config.py | ||
| database.py | ||
| db_dialect.py | ||
| encryption.py | ||
| local_config.py | ||
| logging_filters.py | ||
| oidc_env.py | ||
| paths.py | ||
| permissions.py | ||
| tasks.py | ||
| trace.py | ||
| websocket.py | ||