Displaying 1 result from an estimated 1 matches for "6de86b5566d7598f57e757960760acd2".
2007 Dec 23
3
InvalidAuthenticityToken problems with my login form
...e
RequestForgeryProtection
but I get an InvalidAuthenticityToken error, right from the beginning
with my login form..
I followed the recommandations :
in my environment.rb
config.action_controller.session = {
:session_key => ''myappname'',
:secret => ''6de86b5566d7598f57e757960760acd2''
}
in my application.rb
protect_from_forgery :secret => ''6de86b5566d7598f57e757960760acd2''
my sessions_controller.rb doesn''t have anything new inside... same code
as used with rails 1.2
(is it right ?)
class SessionsController < ApplicationControll...