action:middleware.pageView
-
Is it possible to add new hook
action:middleware.pageView
inmiddleware.pageView
function? -
added new hook action:middleware.pageView 路 NodeBB/NodeBB@9e63aae
Node.js based forum software built for the modern web - added new hook action:middleware.pageView 路 NodeBB/NodeBB@9e63aae
GitHub (github.com)
-
Thanks a lot @baris
-
I would be very appreciated if you can add one more hook into
authenticationController.logout
function (I need to perform additional actions on logout request). -
added action:user.loggedOut 路 NodeBB/NodeBB@414c2a8
Node.js based forum software built for the modern web - added action:user.loggedOut 路 NodeBB/NodeBB@414c2a8
GitHub (github.com)
-
Can you please pass
res
object into the hook? As I need to clear some cookies. -
pass in req,res to action:user.loggedOut 路 NodeBB/NodeBB@399c89e
Node.js based forum software built for the modern web - pass in req,res to action:user.loggedOut 路 NodeBB/NodeBB@399c89e
GitHub (github.com)
-
Brilliant! Thank you