1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-29 09:31:11 -05:00
forgejo/vendor/github.com/go-macaron
Aleksandr Bulyshchenko ee878e3951 Support secure cookie for csrf-token (#3839)
* dep: Update github.com/go-macaron/csrf

Update github.com/go-macaron/csrf with dep to revision 503617c6b372
to fix issue of csrf-token security.

This update includes following commits:
- Add support for the Cookie HttpOnly flag
- Support secure mode for csrf cookie

Signed-off-by: Aleksandr Bulyshchenko <A.Bulyshchenko@globallogic.com>

* routers: set csrf-token security depending on COOKIE_SECURE

Signed-off-by: Aleksandr Bulyshchenko <A.Bulyshchenko@globallogic.com>
2018-05-22 02:09:48 +03:00
..
bindata Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
binding Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
cache Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
captcha Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
csrf Support secure cookie for csrf-token (#3839) 2018-05-22 02:09:48 +03:00
gzip Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
i18n Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
inject Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
session Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
toolbox Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00