Which part of asp.net mvc is reponsible for the generation of the ReturnUrl. At the moment I am getting this:
?ReturnUrl=%2f
after:
FormsAuthentication.SignOut();
This takes place in a model which is invoked like this:
[HttpGet]
public ActionResult LogOff()
{
_xModel.LogOff();
return Redirect("/");
}
changing this to:
[HttpGet]
public ActionResult LogOff()
{
_xModel.LogOff();
return RedirectToAction("Index", "Home");
}
does not work.