16 lines
785 B
Ruby
16 lines
785 B
Ruby
# Be sure to restart your server when you modify this file.
|
|
|
|
# Your secret key for verifying cookie session data integrity.
|
|
# If you change this key, all old sessions will become invalid!
|
|
# Make sure the secret is at least 30 characters and all random,
|
|
# no regular words or you'll be exposed to dictionary attacks.
|
|
ActionController::Base.session = {
|
|
:key => '_r4_session',
|
|
:secret => '3de7e1b7f4a979950642fd6ebf1a1f67488c568c7e510d7fe9011d6f8ad37e4195bc32aed07167ac7541b7b152d4ffbca73e05bd19d8faddff52b422f3851890'
|
|
}
|
|
|
|
# Use the database for sessions instead of the cookie-based default,
|
|
# which shouldn't be used to store highly confidential information
|
|
# (create the session table with "rake db:sessions:create")
|
|
# ActionController::Base.session_store = :active_record_store
|