diff options
author | Mike Dillon <mike@embody.org> | 2011-09-02 08:22:29 -0700 |
---|---|---|
committer | Mike Dillon <mike@embody.org> | 2011-09-10 08:31:04 -0700 |
commit | 7fb99e5743d88c04357e09960d112376428a6faa (patch) | |
tree | 20dc007fb1468f578afab00038d1d3b067e976cb | |
parent | 4d3a73e5ddcd0ddae8d466e55e1c7c8cdb280343 (diff) | |
download | rails-7fb99e5743d88c04357e09960d112376428a6faa.tar.gz rails-7fb99e5743d88c04357e09960d112376428a6faa.tar.bz2 rails-7fb99e5743d88c04357e09960d112376428a6faa.zip |
Change log level for CSRF token verification warning
-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 |