Posted on: 12/10/2014 4:48:20 PM | Views : 610

I have a scenario where user accounts are being reset to unconfirmed and their password hash and security stamp are being set to null. Whenever I resend the confirmation email I receive an error that the token is invalid. This works perfectly fine when creating a new user and sending their confirmation email though.
System.Exception: Invalid token. at PRISMdev.Controllers.AccountController.AddErrors(IdentityResult result) at PRISMdev.Controllers.AccountController.<ConfirmEmail>d__d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.&l ...

Go to the complete details ...