fix: show source address when rejecting proxy auth

This commit is contained in:
LukeGus committed 2026-10-27 20:18:03 -05:00
1 parent f9a6b451c2
commit ab3edbdf7b
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -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
+1 -1
View File
@@ -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,