mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Update content following review
This commit is contained in:
@@ -131,9 +131,9 @@ def revoke_api_key(service_id, key_id):
|
||||
key_name = current_service.get_api_key(key_id)['name']
|
||||
if request.method == 'GET':
|
||||
flash([
|
||||
"Are you sure you want to revoke this API key?",
|
||||
"‘{}’ will no longer let you connect to GOV.UK Notify.".format(key_name)
|
||||
], 'revoke')
|
||||
"Are you sure you want to revoke ‘{}’?".format(key_name),
|
||||
"You will not be able to use this API key to connect to GOV.UK Notify."
|
||||
], 'revoke this API key')
|
||||
return render_template(
|
||||
'views/api/keys.html',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user