Skip to content

Commit 007fe69

Browse files
kevinsimperdougwilson
authored andcommitted
docs: show req.signedCookies in example
closes #29
1 parent 567024c commit 007fe69

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,11 @@ var app = express()
6262
app.use(cookieParser())
6363

6464
app.get('/', function(req, res) {
65+
// Cookies that have not been signed
6566
console.log('Cookies: ', req.cookies)
67+
68+
// Cookies that have been signed
69+
console.log('Signed Cookies: ', req.signedCookies)
6670
})
6771

6872
app.listen(8080)

0 commit comments

Comments
 (0)