X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8b9cacd3c2fa236463819ffeb41980ec57d87faa..289ab7c19d3fbce8639282ae6c9611374ec43760:/config/initializers/session_store.rb diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb index 8ab000717..77fd39092 100644 --- a/config/initializers/session_store.rb +++ b/config/initializers/session_store.rb @@ -12,6 +12,6 @@ ActionController::Base.session = { # 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 or OSM_STATUS == :database_readonly +unless STATUS == :database_offline or STATUS == :database_readonly ActionController::Base.session_store = :sql_session_store end