mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-04 01:33:12 -05:00
checked displayed log message
This commit is contained in:
@@ -45,11 +45,14 @@ def requires_no_auth():
|
||||
|
||||
|
||||
def restrict_ip_sms():
|
||||
'''
|
||||
ip_addr = jsonify({'remote_addr': request.remote_addr,
|
||||
'X-Forwarded_FOR': request.headers.getlist('X-Forwarded-For'),
|
||||
'X_Real-Ip': request.headers.getlist('X-Real-Ip')})
|
||||
|
||||
current_app.logger.info("Inbound sms ip addresses = {}".format(ip_addr))
|
||||
'''
|
||||
current_app.logger.info("Inbound sms ip addresses remote_addr = {}, "
|
||||
"X-Forwarded_FOR = {}".format(request.remote_addr,
|
||||
request.headers.getlist('X-Forwarded-For')))
|
||||
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user