aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/configuring.md
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-11-19 22:39:17 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-12-02 20:03:12 -0200
commit73c1fc531d70dae5faffe01a31445b4fb8a0d951 (patch)
tree06f88e0748110e781969f540dfe08f79f878d304 /guides/source/configuring.md
parenta6dfe5f0249a4825a79407fb15ae42eac0647d4f (diff)
downloadrails-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/configuring.md')
-rw-r--r--guides/source/configuring.md8
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`.