Skip to content

Commit ae69114

Browse files
committed
fixing syntax error in README for string value
1 parent d51dc9c commit ae69114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ var isRevokedCallback = function(req, payload, done){
150150
};
151151

152152
app.get('/protected',
153-
jwt({secret: shhhhhhared-secret,
153+
jwt({secret: 'shhhhhhared-secret',
154154
isRevoked: isRevokedCallback}),
155155
function(req, res) {
156156
if (!req.user.admin) return res.sendStatus(401);

0 commit comments

Comments
 (0)