Update key to be httpOnly instead of session
authorKevin Sawicki <kevinsawicki@gmail.com>
Wed, 29 Jun 2016 01:16:34 +0000 (18:16 -0700)
committerKevin Sawicki <kevinsawicki@gmail.com>
Wed, 29 Jun 2016 15:39:20 +0000 (08:39 -0700)
docs/api/session.md

index b6026c3..78b001f 100644 (file)
@@ -377,8 +377,8 @@ with `callback(error, cookies)` on complete.
   * `path` String - The path of the cookie. Empty by default if omitted.
   * `secure` Boolean - Whether the cookie should be marked as Secure. Defaults to
     false.
-  * `session` Boolean - Whether the cookie should be marked as HTTP only. Defaults
-    to false.
+  * `httpOnly` Boolean - Whether the cookie should be marked as HTTP only.
+    Defaults to false.
   * `expirationDate` Double -  The expiration date of the cookie as the number of
     seconds since the UNIX epoch. If omitted then the cookie becomes a session
     cookie and will not be retained between sessions.