X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1ed609ef52e912e7046e61b4c3f7d45fbb753906..a00b472ac49d0d2858c3dd8b84cb61ef5e85f42f:/config/environment.rb diff --git a/config/environment.rb b/config/environment.rb index de5852fc4..61d068ab7 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -89,7 +89,7 @@ Rails::Initializer.run do |config| # 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 'rake db:sessions:create') - unless OSM_STATUS == :database_offline + unless OSM_STATUS == :database_offline or OSM_STATUS == :database_readonly config.action_controller.session_store = :sql_session_store end