diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-09-10 10:45:47 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-09-10 10:45:47 -0700 |
commit | d0946fdd57125872efb6ece8257dccedfe3bef01 (patch) | |
tree | b443e652beaeefe54bc0858ada6fa056c71ff634 /actionpack/lib | |
parent | e8e1911738ce990b55d068e603124572535baf5d (diff) | |
parent | e7e6515146322c4e5feba61c8365458df4b9fd67 (diff) | |
download | rails-d0946fdd57125872efb6ece8257dccedfe3bef01.tar.gz rails-d0946fdd57125872efb6ece8257dccedfe3bef01.tar.bz2 rails-d0946fdd57125872efb6ece8257dccedfe3bef01.zip |
Merge pull request #2972 from md5/master
Use log.warn instead of debug for CSRF token warning
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/metal/request_forgery_protection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/request_forgery_protection.rb b/actionpack/lib/action_controller/metal/request_forgery_protection.rb index 4d016271ea..bc22e39efb 100644 --- a/actionpack/lib/action_controller/metal/request_forgery_protection.rb +++ b/actionpack/lib/action_controller/metal/request_forgery_protection.rb @@ -74,7 +74,7 @@ module ActionController #:nodoc: # The actual before_filter that is used. Modify this to change how you handle unverified requests. def verify_authenticity_token unless verified_request? - logger.debug "WARNING: Can't verify CSRF token authenticity" if logger + logger.warn "WARNING: Can't verify CSRF token authenticity" if logger handle_unverified_request end end |