diff --git a/source/server/routes/auth/index.ts b/source/server/routes/auth/index.ts index fa16c69c..a87a2d48 100644 --- a/source/server/routes/auth/index.ts +++ b/source/server/routes/auth/index.ts @@ -37,6 +37,7 @@ router.post("/login/:username/link", either(isAdministrator, rateLimit({ limit: 1, // Limit each IP to 1 request per `window`. standardHeaders: 'draft-7', legacyHeaders: false, + validate: {trustProxy: false} })), wrap(sendLoginLink)); router.post("/logout", postLogout);