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:
parent
4d3a73e5dd
commit
7fb99e5743
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue