Node.js based forum software built for the modern web
fix: fire pluginHooks for /compose
Julian Lam2d15e0066767
diff --git a/src/routes/index.js b/src/routes/index.jsindex e22c496785..4b8dde9111 100644--- a/src/routes/index.js+++ b/src/routes/index.js@@ -43,7 +43,7 @@ _mounts.main = (app, middleware, controllers) => {setupPageRoute(app, '/email/unsubscribe/:token', [], controllers.accounts.settings.unsubscribe);app.post('/email/unsubscribe/:token', controllers.accounts.settings.unsubscribePost);- app.post('/compose', middleware.applyCSRF, controllers.composer.post);+ app.post('/compose', [middleware.applyCSRF, middleware.pluginHooks], controllers.composer.post);};_mounts.mod = (app, middleware, controllers) => {