I believe I am a few steps from having a working password reset but cannot seem to identify what is the problem.
The following, in my LostPassword action post, I can confirm gives me a token (which I then send via email to the user)
string tryEmail = passwordModel.Email;
var tryUser = UserManager.FindByEmail( tryEmail );
if( tryUser != null ) {
var provider = new Microsoft.Owin.Security.DataProtection.DpapiDataProtectionProvider( "Sample" );
UserManager.UserTokenProvider = new Microsoft.AspNet.Identity.Owin.DataProtectorTokenProvider<User>( provider.Create( "EmailConfirmation" ) );
var token = UserManager.GenerateEmailConfirmationToken( tryUser.Id );
}
then in my reset password post, (after prompting for password and the users email), I am attempting the following. It does not work, but gives me no errors and I cannot iden ...
Go to the complete details ...