fix: redact secret diagnostics

This commit is contained in:
Christian Krakau-Louis
2026-05-22 22:00:28 +02:00
parent 4d1ed329ec
commit eeff24fa5c
10 changed files with 125 additions and 15 deletions
+1
View File
@@ -104,6 +104,7 @@ class TestRequireAdminAuth:
request=self._make_request(), api_key=key, bearer=None
)
assert result["auth_type"] == "api_key"
assert "api_key" not in result
finally:
from app.core.security import _api_keys