# HG changeset patch # User Edho Arief # Date 1353941480 -25200 # Node ID f5614a89ce49467cf31e736d9aa9d91bd0d493a2 # Parent 9337084b18d70ba79be15a467872fdcabb298c65 Removed cookies. diff -r 9337084b18d7 -r f5614a89ce49 config/initializers/secret_token.rb --- 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' diff -r 9337084b18d7 -r f5614a89ce49 config/initializers/session_store.rb --- 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