output a message when we send the recovery email
darcs-hash:20080624215826-34904-045d8e8cc25195eb045d2a96a526a6d2a9f0c218.gz
This commit is contained in:
parent
90583f31af
commit
589a6c05f7
@ -176,7 +176,7 @@ class RecoverpasswordAction extends Action {
|
|||||||
$body .= 'If it was you, and you want to confirm, use the URL below:';
|
$body .= 'If it was you, and you want to confirm, use the URL below:';
|
||||||
$body .= "\n\n";
|
$body .= "\n\n";
|
||||||
$body .= "\t".common_local_url('confirmaddress',
|
$body .= "\t".common_local_url('confirmaddress',
|
||||||
array('code' => $code));
|
array('code' => $confirm->code));
|
||||||
$body .= "\n\n";
|
$body .= "\n\n";
|
||||||
$body .= 'If not, just ignore this message.';
|
$body .= 'If not, just ignore this message.';
|
||||||
$body .= "\n\n";
|
$body .= "\n\n";
|
||||||
@ -185,7 +185,14 @@ class RecoverpasswordAction extends Action {
|
|||||||
$body .= common_config('site', 'name');
|
$body .= common_config('site', 'name');
|
||||||
$body .= "\n";
|
$body .= "\n";
|
||||||
|
|
||||||
return mail_to_user($user, _t('Password recovery requested'), $body);
|
mail_to_user($user, _t('Password recovery requested'), $body);
|
||||||
|
|
||||||
|
common_show_header(_('Password recovery requested'));
|
||||||
|
common_element('p', NULL,
|
||||||
|
_t('Instructions for recovering your password ' .
|
||||||
|
'have been sent to the email registered to your ' .
|
||||||
|
'account.'));
|
||||||
|
common_show_footer();
|
||||||
}
|
}
|
||||||
|
|
||||||
function reset_password() {
|
function reset_password() {
|
||||||
|
Loading…
Reference in New Issue
Block a user