If a user has already registered with the email they will get a different email when the register again.

The email includes likes to sign in and send feedback
This commit is contained in:
Rebecca Law
2016-07-12 11:53:30 +01:00
parent b4525d0a64
commit 43938936f3
4 changed files with 22 additions and 24 deletions

View File

@@ -75,7 +75,7 @@ class UserApiClient(BaseAPIClient):
endpoint = '/user/{0}/email-verification'.format(user_id)
self.post(endpoint, data=data)
def sent_already_registered_email(self, user_id, to):
def send_already_registered_email(self, user_id, to):
data = {'email': to}
endpoint = '/user/{0}/email-already-registered'.format(user_id)
self.post(endpoint, data=data)