activator
activator copied to clipboard
Feature to resend the activation link
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 ??
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.