Closed alexwlchan closed 2 years ago
@jamieparkinson I think this is ready for another look.
Test added.
I've renamed it to "send verification" email rather than "resend", because in some cases we've never sent an email in the first place.
I've also removed the scope; it turns out this is covered by the existing update:users
scope.
Ah, sorry, didn't realise Git was waiting for me to force push. 🤦♀️
This actually has the updated code now.
For https://github.com/wellcomecollection/wellcomecollection.org/issues/8179
I think this will allow the identity web app to make a POST to the identity API and get a new verification email to be sent. There's a separate piece of work to actually call it from the identity web app.