ForbesLindesay / connect-roles

Provides dynamic roles based authorisation for node.js connect and express servers.
749 stars 62 forks source link

Doc problem #25

Closed minipai closed 10 years ago

minipai commented 10 years ago

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); or app.use(user.middleware()); will do?

ForbesLindesay commented 10 years ago

Document UP was out of date. Always trust the readme over any other sources. Document Up should be updated now.