setNewEmailAndHash($u->getEmail(), $confirm_hash); if ($u->isError()) { form_release_key(getStringFromRequest('form_key')); exit_error('Error',$u->getErrorMessage()); } else { $message = stripcslashes(sprintf(_('Someone (presumably you) on the %1$s site requested a password change through email verification. If this was not you, ignore this message and nothing will happen. If you requested this verification, visit the following URL to change your password: <%2$s> -- the %1$s staff '), util_make_url ($GLOBALS['sys_name'], "/account/lostlogin.php?ch=_".$confirm_hash))); util_send_message($u->getEmail(),sprintf(_('%1$s Verification'), $GLOBALS['sys_name']),$message); $HTML->header(array('title'=>"Lost Password Confirmation")); echo '
'.printf(_('An email has been sent to the address you have on file. Follow the instructions in the email to change your account password.').'
Home', util_make_url ('/')).'
'; $HTML->footer(array()); exit(); } } $HTML->header(array('title'=>"Lost Account Password")); echo _('Hey... losing your password is serious business. It compromises the security of your account, your projects, and this site.
Clicking "Send Lost PW Hash" below will email a URL to the email address we have on file for you. In this URL is a 128-bit confirmation hash for your account. Visiting the URL will allow you to change your password online and login.
'); ?> footer(array()); // Local Variables: // mode: php // c-file-style: "bsd" // End: ?>