colinskow / superlogin

Powerful authentication for APIs and single page apps using the CouchDB ecosystem which supports a variety of providers.
MIT License
371 stars 117 forks source link

Resend confirmation email #87

Open Kluskey opened 8 years ago

Kluskey commented 8 years ago

Hi there,

Not sure if I missed this, but is there a way to resend a confirmation email to a user (that obviously hasn't confirmed his/her email)? Issues occasionally happen with spam folders and what-not, so this would be very useful.

Thanks!

colinskow commented 8 years ago

It doesn't look like there is currently an easy way to do this with the public API. You would have to look up the confirm token manually in the userDB and use the superlogin.sendEmail API.

I'll set up a superlogin.resendConfirmation(userId) function in the next release. I will not make this part of the public API until some sort of rate limiting is in place, because this is something that could be harmful if abused.

numerized commented 8 years ago

Hi, meteor is giving this ability to resend email, it'll be really nice to have it. Up to you to add a number of max total resend per user.

:)

colinskow commented 8 years ago

I'm currently busy with some other paid projects right now, but within the next couple weeks I intend to sit down and knock out all the high priority issues. Meanwhile, I would love a PR as long as it has tests.

niklasp commented 8 years ago

why dont you get a trusted fellow project master programmer that can help you with all that? would be nice to get the project running and updated, even if you are busy or on vacation or...