JordanRift.Grassroots.Web.Controllers.AccountController.UpdatePassword C# (CSharp) Method

UpdatePassword() public method

public UpdatePassword ( string hash ) : System.Web.Mvc.ActionResult
hash string
return System.Web.Mvc.ActionResult
        public ActionResult UpdatePassword(string hash)
        {
            if (User != null && !string.IsNullOrEmpty(User.Identity.Name))
            {
                return RedirectToAction("Index", "UserProfile");
            }

            var model = new UpdatePasswordModel { ActivationHash = hash };
            return View(model);
        }