Skip to content

Commit

Permalink
Merge pull request #3 from arielspear/master
Browse files Browse the repository at this point in the history
Changed comment about authorization to be more understandable.
  • Loading branch information
wbyoung committed Jul 16, 2014
2 parents 4370bf1 + 4400665 commit 6de91cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ api.post('/sessions', admit.authenticate, function(req, res) {
res.json({ session: req.auth.user });
});

// all routes defined from here on will require authorization
// all routes defined below this line will require authorization
api.use(admit.authorize);
api.delete('/sessions/current', admit.invalidate, function(req, res) {
if (req.auth.user) { throw new Error('Session not invalidated.'); }
Expand Down

0 comments on commit 6de91cc

Please sign in to comment.