aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/login.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/login.php b/actions/login.php
index 3c6f5a647..3b215da66 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -37,7 +37,9 @@ if ($result) {
} else if (get_input('returntoreferer')) {
forward($_SERVER['HTTP_REFERER']);
} else {
- forward("pg/dashboard/");
+ // forward to index for front page overrides.
+ // index will forward to dashboard if appropriate.
+ forward('index.php');
}
}
} else {