Permalink
Browse files

Change log level for CSRF token verification warning

  • Loading branch information...
1 parent 4d3a73e commit 7fb99e5743d88c04357e09960d112376428a6faa @md5 md5 committed Sep 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/metal/request_forgery_protection.rb
@@ -74,7 +74,7 @@ def protect_from_forgery(options = {})
# 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

0 comments on commit 7fb99e5

Please sign in to comment.