public ActionResult ResetPasswordConfirmation(string Id) { ResetPasswordConfirmModel model = new ResetPasswordConfirmModel() { Token = Id }; return View(model); }
public ActionResult ResetPasswordConfirmation(ResetPasswordConfirmModel model) { if (WebSecurity.ResetPassword(model.Token, model.NewPassword)) { return RedirectToAction("PasswordResetSuccess"); } return RedirectToAction("PasswordResetFailure"); }