diff options
Diffstat (limited to 'vendor/github.com/gorilla/securecookie')
-rw-r--r-- | vendor/github.com/gorilla/securecookie/README.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/gorilla/securecookie/README.md b/vendor/github.com/gorilla/securecookie/README.md index 5ed299e..da112e4 100644 --- a/vendor/github.com/gorilla/securecookie/README.md +++ b/vendor/github.com/gorilla/securecookie/README.md @@ -45,6 +45,8 @@ func SetCookieHandler(w http.ResponseWriter, r *http.Request) { Name: "cookie-name", Value: encoded, Path: "/", + Secure: true, + HttpOnly: true, } http.SetCookie(w, cookie) } |