removed printout of route secret

This commit is contained in:
venusbb
2017-11-03 10:41:53 +00:00
parent b0f58a8dcb
commit 0f0110a1d1

View File

@@ -48,7 +48,7 @@ def restrict_ip_sms():
# Check route of inbound sms (Experimental)
# Temporary custom header for route security
if request.headers.get("X-Custom-forwarder"):
current_app.logger.info("X-Custom-forwarder {}".format(request.headers.get("X-Custom-forwarder")))
current_app.logger.info("X-Custom-forwarder received")
# Check IP of SMS providers
if request.headers.get("X-Forwarded-For"):