From 0f0110a1d190152554b6c05717faa1431b9082ba Mon Sep 17 00:00:00 2001 From: venusbb Date: Fri, 3 Nov 2017 10:41:53 +0000 Subject: [PATCH] removed printout of route secret --- app/authentication/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/authentication/auth.py b/app/authentication/auth.py index a99d03593..0e01ec533 100644 --- a/app/authentication/auth.py +++ b/app/authentication/auth.py @@ -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"):