// ************************************** // URL: /Account/Update/FPS/key // ************************************** public ActionResult FPS(string key) { string msg; CUser clUser = new CUser(null, LocalData.CSDbUsers(), LocalData.LogPath()); STUser stUser; int ret = clUser.GetRecordByUserKey(key, out stUser, out msg); if (ret != 0) { return(RedirectToAction("Index", "Home")); } if (stUser.newemailkey != key) { return(RedirectToAction("Index", "Home")); } ActivateModel model = new ActivateModel(); model.Key = key; ViewBag.PasswordLength = MembershipService.MinPasswordLength; return(View("Activate", model)); }