X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/02ad2f5a5192404185d00ec1b53ae2982760c0ea..52395b3cdf4d3cfae95730158edeeccf3d062a8e:/config/environment.rb diff --git a/config/environment.rb b/config/environment.rb index 29b114836..e339aca4d 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