Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature to resend the activation link #36

Open
wassimz opened this issue Feb 8, 2016 · 1 comment
Open

Feature to resend the activation link #36

wassimz opened this issue Feb 8, 2016 · 1 comment

Comments

@wassimz
Copy link

wassimz commented Feb 8, 2016

Hi,

Currently if the user miss the email or he loses it, I don't see any mechanism to resend a new activation code. Currently I am using the generation activation email after the user creation task. So if I try to recall the same API, the account user is already created. But I think that the resend should be in separate method call

What do you think ??

@deitch
Copy link
Owner

deitch commented Feb 8, 2016

Why wouldn't you just call createActivate() again? All it does is find the user, create a link, and send it. It will create a new link this time, but that is fine.

In theory, you could separate it, but then you would need to get the user from the database anyways, might as well just keep it clean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants