From ae69114afe5ca84f39adfac8dc7e9b224eab5410 Mon Sep 17 00:00:00 2001 From: Sal Niro Date: Mon, 11 Jan 2016 17:58:09 -0700 Subject: [PATCH] fixing syntax error in README for string value --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c9b4b0bf..fe88be2a 100644 --- a/README.md +++ b/README.md @@ -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);