Changesets can be listed by changeset number.
The Git repository is here.
Changeset 478
Cookies use SSL in Production.
- Comitted by: rool
- Date: Wednesday June 19 05:54:09 2019 (over 5 years ago)
Affected files:
rool/rails/canvass/trunk/config/initializers/01_session_store.rb:
prev. | current | |
# Your secret key for verifying cookie session data integrity. | ||
# If you change this key, all old sessions will become invalid! | ||
5 | ||
5 | # 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 = { | ||
8 | | |
9 | | |
8 | :key => '_canvass_session', | |
9 | :secret => 'changeme', | |
10 | :secure => RAILS_ENV == 'production', | |
11 | :httponly => true | |
} | ||
# Use the database for sessions instead of the cookie-based default, |