Change to fix ip restrictions

This commit is contained in:
Rebecca Law
2017-11-10 12:05:06 +00:00
parent 34aa8dfd01
commit 9e9642f6e9

View File

@@ -124,7 +124,7 @@ def register_blueprint(application):
application.register_blueprint(sms_callback_blueprint)
# inbound sms
receive_notifications_blueprint.before_request(restrict_ip_sms)
receive_notifications_blueprint.before_request(requires_no_auth)
application.register_blueprint(receive_notifications_blueprint)
notifications_blueprint.before_request(requires_auth)