array(generateHash($NEW_PASS), $userid), __FUNCTION__, __LINE__);
// Prepare data and message for email
- $message = loadEmailTemplate('new-pass', array('new_pass' => $NEW_PASS), $userid);
+ $message = loadEmailTemplate('new-pass', array('new_pass' => $NEW_PASS, 'nickname' => $userid), $userid);
// ... and send it away
sendEmail($userid, getMessage('GUEST_NEW_PASSWORD'), $message);
// @TODO Rewrite these all constants
$content['email'] = generateEmailLink($DATA['email'], 'user_data');
$content['surname'] = $DATA['surname'];
- $content['fname'] = $DATA['family'];
+ $content['family'] = $DATA['family'];
$content['userid'] = bigintval(getRequestElement('userid'));
// Realy want to lock?