Permalink
Browse files

A set secret causes trouble with the cookie store

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 860cf2d commit 4af5dbbfccdc4f83b43b4acac246c5e0d8f9199c @dhh dhh committed Oct 1, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/helpers/application.rb
View
4 railties/helpers/application.rb
@@ -5,6 +5,6 @@ class ApplicationController < ActionController::Base
helper :all # include all helpers, all the time
# See ActionController::RequestForgeryProtection for details
- # If you're using the Cookie Session Store you can leave out the :secret
- protect_from_forgery :secret => '<%= app_secret %>'
+ # Uncomment the :secret if you're not using the cookie session store
+ protect_from_forgery # :secret => '<%= app_secret %>'
end

0 comments on commit 4af5dbb

Please sign in to comment.