diff options
author | Loïc Hoguin <[email protected]> | 2019-10-10 14:40:56 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-10 14:40:56 +0200 |
commit | 02a889d7a640d0ac990b3b7c6bcc05c4f26a89fa (patch) | |
tree | d6cf7df1864b9ab10187a2a2884963bc0db2f596 /doc/src/manual/cow_cookie.setcookie.asciidoc | |
parent | faa57b16eba29a2609c23bbe01d42f6d37a1d511 (diff) | |
download | cowlib-02a889d7a640d0ac990b3b7c6bcc05c4f26a89fa.tar.gz cowlib-02a889d7a640d0ac990b3b7c6bcc05c4f26a89fa.tar.bz2 cowlib-02a889d7a640d0ac990b3b7c6bcc05c4f26a89fa.zip |
Fix cookie_opts() type in code and documentation
It's supposed to be a map, not a proplist.
Diffstat (limited to 'doc/src/manual/cow_cookie.setcookie.asciidoc')
-rw-r--r-- | doc/src/manual/cow_cookie.setcookie.asciidoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/manual/cow_cookie.setcookie.asciidoc b/doc/src/manual/cow_cookie.setcookie.asciidoc index ab2d466..96ddcac 100644 --- a/doc/src/manual/cow_cookie.setcookie.asciidoc +++ b/doc/src/manual/cow_cookie.setcookie.asciidoc @@ -45,7 +45,7 @@ An iolist with the generated set-cookie header value. ---- SetCookie = cow_cookie:setcookie(<<"sessionid">>, ID, #{ http_only => true, - secure => true + secure => true }). ---- |