Permalink
Browse files

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
  • Loading branch information...
1 parent acfd8d4 commit 0ed684cbb7984feff60bb357bdf208dc423b6785 @brettp brettp committed Mar 9, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 actions/login.php
View
@@ -37,7 +37,9 @@
} 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 {

1 comment on commit 0ed684c

Contributor

hypeJunction commented on 0ed684c Jan 7, 2012

Can we a add a hook or config to allow plugins change this? (http://trac.elgg.org/ticket/4275)

Please sign in to comment.