Closed minipai closed 10 years ago
In http://documentup.com/ForbesLindesay/connect-roles app.use(user);
app.use(user);
In README app.use(user.middleware());
app.use(user.middleware());
which one is correct?
Also, can you add a note on what app.use(user); or app.use(user.middleware()); will do?
Document UP was out of date. Always trust the readme over any other sources. Document Up should be updated now.
In http://documentup.com/ForbesLindesay/connect-roles
app.use(user);
In README
app.use(user.middleware());
which one is correct?
Also, can you add a note on what
app.use(user);
orapp.use(user.middleware());
will do?