1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Change log level for CSRF token verification warning

This commit is contained in:
Mike Dillon 2011-09-02 08:22:29 -07:00
parent 4d3a73e5dd
commit 7fb99e5743

View file

@ -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