fix: default standalone OIDC settings to enabled

This commit is contained in:
Aaron Liang
2026-07-15 11:50:07 +08:00
parent cdc4557d19
commit 3cb0e43e55
+1 -1
View File
@@ -39,7 +39,7 @@ class CpaExportSettings:
if hotload_dir is not None and not hotload_dir.is_absolute(): if hotload_dir is not None and not hotload_dir.is_absolute():
hotload_dir = (_ROOT / hotload_dir).resolve() hotload_dir = (_ROOT / hotload_dir).resolve()
return cls( return cls(
enabled=bool(cfg.get("cpa_export_enabled", False)), enabled=bool(cfg.get("cpa_export_enabled", True)),
auth_dir=auth_dir, auth_dir=auth_dir,
hotload_dir=hotload_dir, hotload_dir=hotload_dir,
copy_to_hotload=bool(cfg.get("cpa_copy_to_hotload", False)), copy_to_hotload=bool(cfg.get("cpa_copy_to_hotload", False)),