diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/login.php | 5 | ||||
-rw-r--r-- | actions/user/requestnewpassword.php | 2 |
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); |