Skip to content

Commit

Permalink
Document config.action_dispatch.always_write_cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiculescu committed Jul 23, 2024
1 parent e0a9ef1 commit cdd58cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions guides/source/configuring.md
Original file line number Diff line number Diff line change
Expand Up @@ -2130,6 +2130,13 @@ If set to `false`, when both headers are present, both headers are checked and b
| (original) | `false` |
| 8.0 | `true` |

#### `config.action_dispatch.always_write_cookie`

Cookies will be written at the end of a request, if they marked as insecure, if the request is made over SSL, or if the request is made to an onion service.

If set to `true`, cookies will be written even if this criteria is not met.

This defaults to `true` in `development`, and `false` in all other environments.

#### `ActionDispatch::Callbacks.before`

Expand Down

0 comments on commit cdd58cc

Please sign in to comment.