changeset 149:f5614a89ce49

Removed cookies.
author Edho Arief <edho@myconan.net>
date Mon, 26 Nov 2012 21:51:20 +0700
parents 9337084b18d7
children 88f957e0352b
files config/initializers/secret_token.rb config/initializers/session_store.rb
diffstat 2 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/config/initializers/secret_token.rb	Mon Nov 26 21:46:38 2012 +0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-Zeropaste::Application.config.secret_token = '312c7dd024cee5ceec254af50bf0bf7ee3e976d3581b13e8525798219cb3ddabc0845732f3a667d4f786971b28a3b3ed9b050ef5660266be030af17758a188dd'
--- a/config/initializers/session_store.rb	Mon Nov 26 21:46:38 2012 +0700
+++ b/config/initializers/session_store.rb	Mon Nov 26 21:51:20 2012 +0700
@@ -1,6 +1,6 @@
 # Be sure to restart your server when you modify this file.
 
-Zeropaste::Application.config.session_store :cookie_store, :key => '_zeropaste_session'
+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