X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8b9cacd3c2fa236463819ffeb41980ec57d87faa..7f955a4aca277350a70bb95f0ca97e64d7d808c4:/config/initializers/session_store.rb?ds=inline 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