From ed45e0d793a1ddaf45ce363479e573b92f726f5b Mon Sep 17 00:00:00 2001 From: vladmandic Date: Sun, 23 Nov 2025 13:09:51 -0500 Subject: [PATCH] remove invalid password from log Signed-off-by: vladmandic --- modules/api/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/api/api.py b/modules/api/api.py index c84f19f33..1dafa60a8 100644 --- a/modules/api/api.py +++ b/modules/api/api.py @@ -137,7 +137,7 @@ class Api: if hasattr(self.app, 'tokens') and (self.app.tokens is not None): if credentials.password in self.app.tokens.keys(): return True - shared.log.error(f'API authentication: user="{credentials.username}" password="{credentials.password}"') + shared.log.error(f'API authentication: user="{credentials.username}"') raise HTTPException(status_code=401, detail="Unauthorized", headers={"WWW-Authenticate": "Basic"}) def get_session_start(self, req: Request, agent: Optional[str] = None):