diff --git a/vendor/plugins/form_spam_protection/lib/form_spam_protection.rb b/vendor/plugins/form_spam_protection/lib/form_spam_protection.rb index 783af545..b85aabd5 100644 --- a/vendor/plugins/form_spam_protection/lib/form_spam_protection.rb +++ b/vendor/plugins/form_spam_protection/lib/form_spam_protection.rb @@ -23,7 +23,7 @@ module FormSpamProtection end end else - render :text => "You must have Javascript on to submit this form.", :layout => 'error', :status => 403 + render :text => "You must have Javascript on, and cookies enabled, to submit this form.", :layout => 'error', :status => 403 return false end end diff --git a/vendor/plugins/form_spam_protection/test/form_spam_protection_test.rb b/vendor/plugins/form_spam_protection/test/form_spam_protection_test.rb index b9744607..17d0862e 100644 --- a/vendor/plugins/form_spam_protection/test/form_spam_protection_test.rb +++ b/vendor/plugins/form_spam_protection/test/form_spam_protection_test.rb @@ -16,7 +16,7 @@ class FormSpamProtectionTest < Test::Unit::TestCase def test_index_form_handler_is_protected post :index assert_response 403 - assert_equal "You must have Javascript on to submit this form.", @response.body + assert_equal "You must have Javascript on, and cookies enabled, to submit this form.", @response.body get :index form_key_tag = assert_select('code input[type="hidden"]').first