Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support secure mode for csrf cookie (#7)
Options struct has Secure flag for csrf cookie, but it's just ignored and corresponding argument of SetCookie() is hardcodded to false. This pass Options.Secure to SetCookie in csrf.Generate() Signed-off-by: Aleksandr Bulyshchenko <A.Bulyshchenko@globallogic.com>
- Loading branch information