From 0ed684cbb7984feff60bb357bdf208dc423b6785 Mon Sep 17 00:00:00 2001 From: brettp Date: Tue, 9 Mar 2010 16:24:26 +0000 Subject: Forwarding to index.php after login instead of pg/dashboard. git-svn-id: http://code.elgg.org/elgg/trunk@5333 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/login.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.3