Disable SQL sessions in database readonly mode
This commit is contained in:
parent
1ed609ef52
commit
a00b472ac4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue