diff --git a/core/domains/domains.php b/core/domains/domains.php index 89f33318fd..b50ce82685 100644 --- a/core/domains/domains.php +++ b/core/domains/domains.php @@ -77,7 +77,7 @@ //redirect the user if (!empty($_SESSION["login"]["destination"])) { // to default, or domain specific, login destination - header("Location: ".PROJECT_PATH.$_SESSION["login"]["destination"]["url"]); + header("Location: ".PROJECT_PATH.$_SESSION["login"]["destination"]["text"]); } else { header("Location: ".PROJECT_PATH."/core/dashboard/");