Documented config/initializers/session_store.rb
This commit is contained in:
parent
2bd52b9270
commit
8c0af4bd87
2 changed files with 1 additions and 2 deletions
|
@ -40,7 +40,7 @@ Edit app_config.yml to suit your needs or just keep the defaults for now.
|
|||
-------------------
|
||||
The user session is stored in a cookie. To avoid misusing the cookies and its sensitive information, rails will encrypt it with a token. So copy the config file
|
||||
|
||||
cp config/environment.rb.SAMPLE config/environment.rb
|
||||
cp config/initializers/session_store.rb.SAMPLE config/initializers/session_store.rb
|
||||
|
||||
and modify the token "config.action_controller.session"!
|
||||
|
||||
|
|
|
@ -67,5 +67,4 @@ Rails::Initializer.run do |config|
|
|||
config.i18n.default_locale = :de
|
||||
|
||||
# See Rails::Configuration for more options
|
||||
config.action_controller.session = { :key => "_myapp_session", :secret => "9195616576518931793179752176417923862176431279acfaedcbeafdcbeafdcbeafcbaefdcbaedcfadcf" }
|
||||
end
|
Loading…
Reference in a new issue