Ejemplo n.º 1
0
        public ActionResult ForgotPassword(string emailAddress)
        {
            vmRedirect vm = new vmRedirect();
            vm.returnUrl = "/";

            if (string.IsNullOrEmpty(emailAddress)) return View(vm);

            var result = UserService.GeneratePasswordResetRequest(emailAddress);
            ViewBag.Result = result;
            ViewBag.EmailAddress = emailAddress;

            return View(vm);
        }
Ejemplo n.º 2
0
 public ActionResult ForgotPassword()
 {
     vmRedirect vm = new vmRedirect();
     vm.returnUrl = "/";
     return View(vm);
 }