예제 #1
0
        public ActionResult Login(User user)
        {
            string returnUrl = TempData["ReturnUrl"]?.ToString();

            _samlManager.SignIn(user);

            //return RedirectToAction(nameof(Index));
            if (!string.IsNullOrEmpty(returnUrl))
            {
                return(Redirect(returnUrl));
            }

            return(Redirect("http://mytruthpoint.vertsys.local/rrplus_dev/default.aspx"));
        }
예제 #2
0
 public ActionResult Login(User user)
 {
     _samlManager.SignIn(user);
     return(Redirect("http://mytruthpoint.vertsys.local/rrplus_dev/default.aspx"));
 }