codeclannigeria / codeclannigeria-backend

The official website API for Code Clan Nigeria (CCN) community
https://codeclannigeria-api.herokuapp.com/api/
MIT License
12 stars 12 forks source link

Resend email confirmation Token for verifying registration #204

Open rammyblog opened 4 years ago

rammyblog commented 4 years ago

Is your feature request related to a problem? Please describe. A user cannot request a new confirmation email after the initial one expired.

Describe the solution you'd like An endpoint that will resend an email confirmation

ofuochi commented 4 years ago

Simply call the same endpoint

rammyblog commented 4 years ago

Simply call the same endpoint

Assume the mail does not deliver, If I request a new token using same endpoint, I get an error. ![Uploading image.png…]()

rammyblog commented 4 years ago

image

ofuochi commented 4 years ago

Okay, this should be a bug rather than a feature

tayormi commented 3 years ago

Hi @rammyblog, I'd like to resend email confirmation Token manually. What are the params I need to pass to the endpoint

I have this payload

{
  "clientBaseUrl": "string",
  "tokenParamName": "string",
  "emailParamName": "string",
  "email": "string"
}