fix: Exclude additional sensitive information from mealie logs (#4218)

Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
This commit is contained in:
bigcat2014 2024-09-21 18:07:47 -04:00 committed by GitHub
parent abc1174877
commit c774f626ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,6 +63,8 @@ async def lifespan_fn(_: FastAPI) -> AsyncGenerator[None, None]:
settings.model_dump_json(
indent=4,
exclude={
"LDAP_QUERY_PASSWORD",
"OPENAI_API_KEY",
"SECRET",
"SFTP_PASSWORD",
"SFTP_USERNAME",