mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 12:11:19 +00:00
log password forgotten request
This commit is contained in:
parent
056736ecc5
commit
3197f25ce8
|
@ -55,7 +55,12 @@ if($user) {
|
|||
$params['url'] = getBaseUrl().$settings->_httpRoot."out/out.ChangePassword.php?hash=".$hash;
|
||||
$params['url_prefix'] = getBaseUrl().$settings->_httpRoot;
|
||||
$emailobj->toIndividual($settings->_smtpSendFrom, $user, $subject, $message, $params);
|
||||
if($logger)
|
||||
$logger->log("PasswordForgotten: Request for '".$login."' send to '".$email."'", PEAR_LOG_INFO);
|
||||
}
|
||||
} else {
|
||||
if($logger)
|
||||
$logger->log("PasswordForgotten: no such user '".$login."' with email '".$email."'", PEAR_LOG_WARNING);
|
||||
}
|
||||
|
||||
header('Location: ../out/out.PasswordSend.php');
|
||||
|
|
Loading…
Reference in New Issue
Block a user