mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-05-30 05:56:42 +09:00
df76a227dc
First open source release of Campfire 🎉
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
|