Login destination url changed to text.
This commit is contained in:
parent
1bc941e244
commit
dea23a1e3b
|
|
@ -77,7 +77,7 @@
|
||||||
//redirect the user
|
//redirect the user
|
||||||
if (!empty($_SESSION["login"]["destination"])) {
|
if (!empty($_SESSION["login"]["destination"])) {
|
||||||
// to default, or domain specific, 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 {
|
else {
|
||||||
header("Location: ".PROJECT_PATH."/core/dashboard/");
|
header("Location: ".PROJECT_PATH."/core/dashboard/");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue