aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-11 09:34:39 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-11 09:34:39 +0000
commitb805a9bd7f1356e66fed15ced2c591cf4e9071fc (patch)
tree8a83febc0361c248281d31190086530503598ee7 /actions
parentcdd79b9f59f51e211005ddf5ea66669565f278ce (diff)
downloadelgg-b805a9bd7f1356e66fed15ced2c591cf4e9071fc.tar.gz
elgg-b805a9bd7f1356e66fed15ced2c591cf4e9071fc.tar.bz2
Refs #210 & #211
git-svn-id: https://code.elgg.org/elgg/trunk@1818 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions')
-rw-r--r--actions/login.php5
-rw-r--r--actions/user/requestnewpassword.php2
2 files changed, 6 insertions, 1 deletions
diff --git a/actions/login.php b/actions/login.php
index 95c90ce7e..774b6dfaa 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -10,7 +10,10 @@
* @copyright Curverider Ltd 2008
* @link http://elgg.org/
*/
-
+
+ // Safety first
+ action_gatekeeper();
+
// Get username and password
$username = get_input('username');
diff --git a/actions/user/requestnewpassword.php b/actions/user/requestnewpassword.php
index 1771a86ac..3ed2d604e 100644
--- a/actions/user/requestnewpassword.php
+++ b/actions/user/requestnewpassword.php
@@ -13,6 +13,8 @@
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
global $CONFIG;
+ action_gatekeeper();
+
$username = get_input('username');
$user = get_user_by_username($username);