Mercurial > zeropaste
view config/initializers/session_store.rb @ 150:88f957e0352b
No need for csrf protection
Because there's no cookies/session to be protected.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Mon, 26 Nov 2012 21:52:43 +0700 |
parents | f5614a89ce49 |
children | d4682cea8e58 |
line wrap: on
line source
# Be sure to restart your server when you modify this file. Zeropaste::Application.config.session_store :disabled # 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 "rails generate session_migration") # Zeropaste::Application.config.session_store :active_record_store