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

+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,