I want to remove \"returnurl=/blabla\" from address bar when a user want to access to a login required page. Because I\'m trying to redirect the user to a static page after
Simple...
[AllowAnonymous] public ActionResult Login() { return View(); } [AllowAnonymous] public ActionResult LoginRedirect(){ return RedirectToAction("Login"); }
Webconfig