Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed typo in cookie authentication documentation

  • Loading branch information...
commit 9cd9d3fccd02161f27a7438c66e64efc062afd8d 1 parent f57beae
@userIsNaN userIsNaN authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 README.md
View
4 README.md
@@ -471,8 +471,6 @@ var nano = require('nano')('http://localhost:5984'),
... perform tasks using cookie authentication ...
-because couchdb cookies have a sliding expiry, it is important that you check for any updated 'set-cookie' values on response. For example:
-
``` js
var auth = req.cookies['AuthSession'],
nano;
@@ -495,7 +493,7 @@ alice.insert(doc, null,
);
```
-... finally, logout ...
+... and finally, logout ...
``` js
// The couchdb cookie name is AuthSession
Please sign in to comment.
Something went wrong with that request. Please try again.