aboutsummaryrefslogtreecommitdiff
path: root/account/forgotten_password.php
blob: 3895d506f85d24c3f94af520ab99c546ed5b6f66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
/**
 * Forgotten password function.
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 */

require_once(dirname(dirname(__FILE__)) . "/engine/start.php");

if (!isloggedin()) {
	page_draw( elgg_echo('user:password:lost'), elgg_view("account/forms/forgotten_password") );
} else {
	forward();
}