Marius
Marius
The method findModuleMiddlewareAndRoutes in modules/@apostrophecsm/express/index.js incorrectly handles the "before" property of middleware, where the "before middleware" also has a "before" property. To reproduce, create a middleware with a "before" set...
In the login module, index.js, the filterRequirements function filters for three phases. The uponSubmit filter is: ```onTimeRequirements: Object.fromEntries(requirements.filter(requirement => requirement.phase === 'uponSubmit')),``` and it should be: ```onTimeRequirements: Object.fromEntries(requirements.filter(([ , requirement...