mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-15 15:11:01 -05:00
Merge pull request #1365 from alphagov/vb-route-protection
removed printout of route secret
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user