Skip to content

Commit

Permalink
fixing syntax error in README for string value
Browse files Browse the repository at this point in the history
  • Loading branch information
scniro committed Jan 12, 2016
1 parent d51dc9c commit ae69114
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 @@ -150,7 +150,7 @@ var isRevokedCallback = function(req, payload, done){
};

app.get('/protected',
jwt({secret: shhhhhhared-secret,
jwt({secret: 'shhhhhhared-secret',
isRevoked: isRevokedCallback}),
function(req, res) {
if (!req.user.admin) return res.sendStatus(401);
Expand Down

0 comments on commit ae69114

Please sign in to comment.