提交 cac0bd16 编写于 作者: A Aaron Patterson

Merge pull request #4327 from Karunakar/minor

removed warning because logger.warn differentiate the warings
......@@ -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.warn "WARNING: Can't verify CSRF token authenticity" if logger
logger.warn "Can't verify CSRF token authenticity" if logger
handle_unverified_request
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册