mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
init project
This commit is contained in:
8
config/initializers/session_store.rb
Normal file
8
config/initializers/session_store.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
# Use the database for sessions instead of the cookie-based default,
|
||||
# which shouldn't be used to store highly confidential information
|
||||
# (create the session table with "rails g active_record:session_migration")
|
||||
# Rails.application.config.session_store :active_record_store
|
||||
|
||||
# Be sure to restart your server when you modify this file.
|
||||
Rails.application.config.session_store :cache_store, :expire_after => 24.hours, :httponly => false, :secure => false, key: '_educoder_session', domain: :all
|
||||
|
||||
Reference in New Issue
Block a user