catstodon/config/initializers/session_store.rb
2016-11-02 12:58:15 +01:00

3 lines
180 B
Ruby

# Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store, key: '_mastodon_session', secure: (ENV['LOCAL_HTTPS'] == 'true')