Source for file password.php
Documentation is available at password.php
* Permit a local user to change their password
* @author Stuart Prescott
* @copyright Copyright Stuart Prescott
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* path (bumblebee root)/inc/actions/password.php
/** Load ancillary functions */
require_once 'inc/typeinfo.php';
require_once 'inc/actions/actionaction.php';
/** user editing object */
require_once 'inc/bb/user.php';
* Permit a local user to change their password
* @todo //TODO: extend form to include current password for auth
* @param BumblebeeAuth $auth Authorisation object
* @param array $pdata extra state data from the call path
echo
"<br /><br /><a href='".
makeURL('').
"'>".
T_('Return to main menu').
"</a>";
$user->update($this->PD);
#$project->fields['defaultclass']->invalid = 1;
STATUS_ERR =>
T_('Password could not be changed: ').
$user->errorMessage
echo
"<input type='submit' name='submit' value='".
T_('Change password').
"' />";
Documentation generated on Tue, 06 Mar 2007 10:01:48 +0000 by phpDocumentor 1.3.0