16 lines
800 B
Ruby
16 lines
800 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 => '_gallery_session',
|
|
:secret => 'eb2b1c59315d0f788fd425feab3e10d78a6830dd2bf843a56ac4af333eb290781b06e6605c15d87a1539181b3a928852b76f7459e963b32fdb77e5995af0b1d6'
|
|
}
|
|
|
|
# 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
|