1
0
mirror of https://github.com/rancher/steve.git synced 2025-07-07 11:59:20 +00:00
Commit Graph

2 Commits

Author SHA1 Message Date
Darren Shepherd
0846768069 CSRF Cookie fixes
- Only set the cookie if it doesn't exist
- Always mark it secure (it was previously getting re-sent as not)
- Check the value against the header even if there was no value (so that
a request that is missing the cookie but should have had one fails).
2020-02-26 12:35:24 -07:00
Darren Shepherd
8b42d0aff8 Refactor 2020-01-30 22:37:59 -07:00