aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-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