Change log level for CSRF token verification warning
This commit is contained in:
parent
4d3a73e5dd
commit
7fb99e5743
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user