Merge pull request #970 from alphagov/whitelist-live

Make whitelist available to live services
This commit is contained in:
Chris Hill-Scott
2016-10-10 11:39:11 +01:00
committed by GitHub
3 changed files with 11 additions and 20 deletions

View File

@@ -73,7 +73,7 @@ def create_api_key(service_id):
', once this service is not in trial mode' if current_service['restricted'] else ''
)),
(KEY_TYPE_TEST, 'Simulate sending messages to anyone'),
(KEY_TYPE_TEAM, 'Only send messages to members of your team')
(KEY_TYPE_TEAM, 'Only send messages to your team or whitelist')
]
if form.validate_on_submit():
secret = api_key_api_client.create_api_key(