docs/cookies.md in secure_headers-3.7.3 vs docs/cookies.md in secure_headers-3.7.4
- old
+ new
@@ -36,15 +36,16 @@
strict: true # mark all cookies as SameSite=Strict
}
}
```
-`Strict` and `Lax` enforcement modes can also be specified using a Hash.
+`Strict`, `Lax`, and `None` enforcement modes can also be specified using a Hash.
```ruby
config.cookies = {
samesite: {
strict: { only: ['_rails_session'] },
- lax: { only: ['_guest'] }
+ lax: { only: ['_guest'] },
+ none: { only: ['_tracking'] },
}
}
```