Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 0ed684cbb7984feff60bb357bdf208dc423b6785 1 parent acfd8d4
@brettp brettp authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 actions/login.php
View
4 actions/login.php
@@ -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

@hypeJunction
Collaborator

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

Please sign in to comment.
Something went wrong with that request. Please try again.