You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The keymaster() middleware is referencing the explicit routes in the server config, which is no longer in sync with the external router.
functionkeymaster(req,res,next){constobj=req.server.tenso,authd=req.session!==void0&&req.isAuthenticated();// No authentication, or it's already happenedif(!req.protect||!req.protectAsync||authd){constmethod=regex.get_rewrite.test(req.method) ? "get" : req.method.toLowerCase(),routes=req.server.config.routes[method]||{},// <-- this is the issue
The text was updated successfully, but these errors were encountered:
The
keymaster()
middleware is referencing the explicit routes in the server config, which is no longer in sync with the external router.The text was updated successfully, but these errors were encountered: