]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/session_store.rb
Merge branch 'master' into openid
[rails.git] / config / initializers / session_store.rb
index 8ab00071717dffd4257f7acea75eed3c34128883..77fd39092240465a623244003e8f722f702588b3 100644 (file)
@@ -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