aboutsummaryrefslogtreecommitdiff
path: root/pages/account/forgotten_password.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/account/forgotten_password.php')
-rw-r--r--pages/account/forgotten_password.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/pages/account/forgotten_password.php b/pages/account/forgotten_password.php
index 93d786e22..bf6ef87e0 100644
--- a/pages/account/forgotten_password.php
+++ b/pages/account/forgotten_password.php
@@ -6,8 +6,6 @@
* @subpackage Registration
*/
-require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
-
if (elgg_is_logged_in()) {
forward();
}
@@ -15,7 +13,9 @@ if (elgg_is_logged_in()) {
$title = elgg_echo("user:password:lost");
$content = elgg_view_title($title);
-$content .= elgg_view_form('user/requestnewpassword');
+$content .= elgg_view_form('user/requestnewpassword', array(
+ 'class' => 'elgg-form-account',
+));
$body = elgg_view_layout("one_column", array('content' => $content));