mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-03-12 13:15:16 +09:00
5 lines
198 B
Ruby
5 lines
198 B
Ruby
Rails.application.config.session_store :cookie_store,
|
|
key: "_campfire_session",
|
|
# Persist session cookie as permament so re-opened browser windows maintain a CSRF token
|
|
expire_after: 20.years
|