Exemple #1
0
        public virtual ActionResult Login(string returnUrl)
        {
            if (FormsAuthenticationHelper.IsAuthentificated())
            {
                return(RedirectToAction(MVC.Home.Index()));
            }

            return(View(new LoginModel {
                ReturnUrl = returnUrl
            }));
        }