molecular-playground / ms-users

A microservice for business logic regarding user data.
0 stars 0 forks source link

Resend validation email route #8

Open ethanfine opened 8 years ago

ethanfine commented 8 years ago

We need a route which resends the validation email.

akaplo commented 8 years ago

This would actually be an ms-email issue.

That said, I don't see a use for a resend route because the existing validate route doesn't care whether you've already sent the email. As long as you continue to pass it the proper params, it'll send as many as you like!

So, the front-end could just have logic where a link to "resend activation email" simply calls /validate again.

ethanfine commented 8 years ago

That's false. ms-email is not a public microservice. Only other microservices use it. This is because it sends arbitrary emails. In addition it (obviously) has no direct access to the database. THe validate route is simply an email form filled out with info sent from the users microservice. A resend route would call the ms-email validate route.

akaplo commented 8 years ago

You're right. I'll take care of that.

akaplo commented 8 years ago

Or will I? Not sure yet.