/// <summary> /// Page to logout the user. /// </summary> /// <returns>Redirection to the home page.</returns> public ActionResult Logout() { CustomAuthentication.SignOut(); return(Redirect("/")); }
public void SignOutNoException() { CustomAuthentication.SignOut(); }