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.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/pages/account/forgotten_password.php b/pages/account/forgotten_password.php
new file mode 100644
index 000000000..2285e7299
--- /dev/null
+++ b/pages/account/forgotten_password.php
@@ -0,0 +1,17 @@
+<?php
+/**
+ * Assembles and outputs the forgotten password page.
+ *
+ * @package Elgg.Core
+ * @subpackage Registration
+ */
+
+require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+if (!isloggedin()) {
+ $area1 = elgg_view_title(elgg_echo("user:password:lost"));
+ $area2 = elgg_view("account/forms/forgotten_password");
+ page_draw(elgg_echo('user:password:lost'), elgg_view_layout("one_column_with_sidebar", $area1 . $area2));
+} else {
+ forward();
+} \ No newline at end of file