mongoose-auth icon indicating copy to clipboard operation
mongoose-auth copied to clipboard

Using middleware before using plugin

Open narf opened this issue 13 years ago • 0 comments

Hi, It seems it's not possible to use the middleware before calling the plugin function since it's the call of the plugin that define the middleware. In fact I'm loading my schemas dynamically at runtime, but I specify middlewares to my server at init, is there a way to keep this logic and use the mongoose-auth middleware?

narf avatar Apr 18 '12 10:04 narf