aboutsummaryrefslogtreecommitdiff
path: root/actions/user
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-13 10:44:24 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-13 10:44:24 +0000
commitd364b6e5d4f004186bb47322739aa848657b71df (patch)
treed64a2e261aedeca3942d4ea15cecb97859aac477 /actions/user
parenta564c1808738709dfc624074edc428d8673bace6 (diff)
downloadelgg-d364b6e5d4f004186bb47322739aa848657b71df.tar.gz
elgg-d364b6e5d4f004186bb47322739aa848657b71df.tar.bz2
Closes #873: Mail/password reset/confirm actions forward to wwwroot rather than ref. Version bump.
git-svn-id: https://code.elgg.org/elgg/trunk@3159 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/user')
-rw-r--r--actions/user/passwordreset.php2
-rw-r--r--actions/user/requestnewpassword.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/actions/user/passwordreset.php b/actions/user/passwordreset.php
index e7bfbdebd..acc24d341 100644
--- a/actions/user/passwordreset.php
+++ b/actions/user/passwordreset.php
@@ -21,7 +21,7 @@
else
register_error(elgg_echo('user:password:fail'));
- forward($_SERVER['HTTP_REFERER']);
+ forward();
exit;
?> \ No newline at end of file
diff --git a/actions/user/requestnewpassword.php b/actions/user/requestnewpassword.php
index 0e685adde..beb19ed1f 100644
--- a/actions/user/requestnewpassword.php
+++ b/actions/user/requestnewpassword.php
@@ -38,6 +38,6 @@
register_error(sprintf(elgg_echo('user:username:notfound'), $username));
access_show_hidden_entities($access_status);
- forward($_SERVER['HTTP_REFERER']);
+ forward();
exit;
?> \ No newline at end of file