diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d13cd3d1..4ffa99fee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ - The plugin list tells the mobile app which plugin API each plugin needs, so the app can say when it or a plugin needs an update - Hosts can have a color and an icon, which sync to the desktop and mobile apps +### Fixed + +- The log line for a rejected proxy login now shows the source address, so you can add it to TRUSTED_PROXY_AUTH_TRUSTED_PROXIES + ## 26.10.5 ### Added diff --git a/src/backend/database/routes/users.ts b/src/backend/database/routes/users.ts index bc4a915bf..598a6b40e 100644 --- a/src/backend/database/routes/users.ts +++ b/src/backend/database/routes/users.ts @@ -318,7 +318,7 @@ router.post("/proxy-login", async (req, res) => { try { if (!isTrustedProxyAddress(sourceAddress, config.trustedProxies)) { authLogger.warn( - "Rejected proxy authentication from an untrusted source", + `Rejected proxy authentication from an untrusted source: ${sourceAddress ?? "unknown"}`, { operation: "trusted_proxy_auth_rejected", sourceAddress,