diff --git a/docs/pages/guides/validate-session-cookies/express.md b/docs/pages/guides/validate-session-cookies/express.md index 3d68d486b..a6bb99dc3 100644 --- a/docs/pages/guides/validate-session-cookies/express.md +++ b/docs/pages/guides/validate-session-cookies/express.md @@ -25,6 +25,7 @@ app.use((req, res, next) => { if (!originHeader || !hostHeader || !verifyRequestOrigin(originHeader, [hostHeader])) { return res.status(403).end(); } + return next(); }); app.use((req, res, next) => {