asciinema.org/config/initializers/session_store.rb

6 lines
349 B
Ruby
Raw Normal View History

# Be sure to restart your server when you modify this file.
2014-08-30 17:38:47 +00:00
Rails.application.config.session_store :cookie_store, key: '_asciinema_session', secure: CFG.ssl?
Rails.application.config.action_dispatch.encrypted_cookie_salt = CFG.session_encryption_salt
Rails.application.config.action_dispatch.encrypted_signed_cookie_salt = CFG.session_signing_salt