diff --git a/services/web/app/src/infrastructure/SessionAutostartMiddleware.js b/services/web/app/src/infrastructure/SessionAutostartMiddleware.js index ca883db483..89c4094276 100644 --- a/services/web/app/src/infrastructure/SessionAutostartMiddleware.js +++ b/services/web/app/src/infrastructure/SessionAutostartMiddleware.js @@ -88,6 +88,9 @@ class SessionAutostartMiddleware { noSessionCallback: (_req, _res, next) => { next() }, + // prevent exception for bot accesses to /project (which requires + // login and regenerates session) + regenerate: cb => cb(), } } }