strongloop-community / loopback-sdk-android

Android Client SDK for the LoopBack framework.
Other
67 stars 41 forks source link

User.save(email, password) returns successful even when no email was successfully sent #89

Closed stevendobrien closed 8 years ago

stevendobrien commented 8 years ago

User.save(email, password) is standard model save so there is no check if email was sent out by nodemailer. I'm always getting ok no matter what. How to check that nodemailer sent off the registration email? Also how to regenerate the email later if email could not go through? User is now saved and it will treat as duplicate. Most registrations have resend confirmation, how can this be done with sdk?