strongloop-community/loopback-sdk-android

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

stevendobrien opened this issue · 0 comments

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?