view config/initializers/session_store.rb @ 418:a69dd2d37950

Prevent adding unrelated classes and funny characters
author nanaya <me@myconan.net>
date Thu, 17 Sep 2015 01:13:14 +0900
parents 1e2e999f586a
children 68eb23b52864
line wrap: on
line source

# Be sure to restart your server when you modify this file.

Zeropaste::Application.config.session_store :cookie_store, :key => "_zeropaste_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 "rails generate session_migration")
# Zeropaste::Application.config.session_store :active_record_store