mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-21 07:51:13 -05:00
Merge pull request #1385 from alphagov/fix-ip-restrictions
Change to fix ip restrictions
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user