Commit 90b075a395f999830f0f0a78d64ce739fa599bee

Authored by Victor Costa
1 parent bcfd4358

Revert cookie store modification

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
config/application.rb
@@ -128,7 +128,7 @@ module Noosfero @@ -128,7 +128,7 @@ module Noosfero
128 # Make sure the secret is at least 30 characters and all random, 128 # Make sure the secret is at least 30 characters and all random,
129 # no regular words or you'll be exposed to dictionary attacks. 129 # no regular words or you'll be exposed to dictionary attacks.
130 config.secret_token = noosfero_session_secret 130 config.secret_token = noosfero_session_secret
131 - config.session_store :active_record_store, key: '_noosfero_session' 131 + config.session_store :cookie_store, key: '_noosfero_session'
132 132
133 config.paths['db/migrate'] += Dir.glob "#{Rails.root}/{baseplugins,config/plugins}/*/db/migrate" 133 config.paths['db/migrate'] += Dir.glob "#{Rails.root}/{baseplugins,config/plugins}/*/db/migrate"
134 config.i18n.load_path += Dir.glob "#{Rails.root}/{baseplugins,config/plugins}/*/locales/*.{rb,yml}" 134 config.i18n.load_path += Dir.glob "#{Rails.root}/{baseplugins,config/plugins}/*/locales/*.{rb,yml}"