Confirm recipient’s email address by default #5772
Open
+3
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This matches how the API behaves – email confirmation is on unless the calling service sets the argument to
False:https://github.com/alphagov/notifications-api/blob/0315a5be585472700c509f65224898d183e2e048/app/v2/notifications/post_notifications.py#L271
It also follows what we say in the docs, that turning off this feature is ‘not recommended’:
https://github.com/alphagov/notifications-tech-docs/blob/712ed70fe68ebe77741c5983558c58bfeb25a0c2/source/rest-api.html.md.erb#L472