maxcountryman / flask-seasurf

SeaSurf is a Flask extension for preventing cross-site request forgery (CSRF).
http://readthedocs.org/docs/flask-seasurf/
Other
190 stars 49 forks source link

Configurable HTTPOnly and secure flag for cookie #37

Closed jpvanhal closed 11 years ago

jpvanhal commented 11 years ago

Added CSRF_COOKIE_HTTPONLY and CSRF_COOKIE_SECURE configuration parameters so that it is possible to set CSRF cookie's HTTPOnly and secure flags on.

maxcountryman commented 11 years ago

Thanks!

jpvanhal commented 11 years ago

Thanks for merging! Can you release a new version that includes these commits?

maxcountryman commented 11 years ago

0.1.21 should be on PyPI now.

jpvanhal commented 11 years ago

Thanks!