diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-19 22:39:17 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-12-02 20:03:12 -0200 |
commit | 73c1fc531d70dae5faffe01a31445b4fb8a0d951 (patch) | |
tree | 06f88e0748110e781969f540dfe08f79f878d304 /guides/source | |
parent | a6dfe5f0249a4825a79407fb15ae42eac0647d4f (diff) | |
download | rails-73c1fc531d70dae5faffe01a31445b4fb8a0d951.tar.gz rails-73c1fc531d70dae5faffe01a31445b4fb8a0d951.tar.bz2 rails-73c1fc531d70dae5faffe01a31445b4fb8a0d951.zip |
Add documentation about the Action Dispatch salt configuration
[ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/configuring.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 5377b971b9..5238d4317c 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -329,6 +329,14 @@ The schema dumper adds one additional configuration option: * `config.action_dispatch.tld_length` sets the TLD (top-level domain) length for the application. Defaults to `1`. +* `config.action_dispatch.http_auth_salt` sets the HTTP Auth salt value. Defaults to `'http authentication'`. + +* `config.action_dispatch.signed_cookie_salt` sets the signed cookies salt value. Defaults to `'signed cookie'`. + +* `config.action_dispatch.encrypted_cookie_salt` sets the encrypted cookies salt value. Defaults to `'encrypted cookie'`. + +* `config.action_dispatch.encrypted_signed_cookie_salt` sets the signed encrypted cookies salt value. Defaults to `'signed encrypted cookie'`. + * `ActionDispatch::Callbacks.before` takes a block of code to run before the request. * `ActionDispatch::Callbacks.to_prepare` takes a block to run after `ActionDispatch::Callbacks.before`, but before the request. Runs for every request in `development` mode, but only once for `production` or environments with `cache_classes` set to `true`. |