From: Alan Knowles Date: Fri, 7 Dec 2018 02:09:33 +0000 (+0800) Subject: Pman/Login.php X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=commitdiff_plain;h=80628a668c6b2d4ff00ce379eb42c8ad8bc3a669 Pman/Login.php --- diff --git a/Pman/Login.php b/Pman/Login.php index 2baaec7..1189cc4 100644 --- a/Pman/Login.php +++ b/Pman/Login.php @@ -419,14 +419,15 @@ class Pman_Login extends Pman $mailer = $core_email->toMailer($this, false); if (is_a($mailer,'PEAR_Error') ) { - $this->addEvent('SYSERR',false, $ret->getMessage()); + $this->addEvent('SYSERR',false, $mailer->getMessage()); $this->jerr($mailer->getMessage()); } $sent = $mailer->send(); if (is_a($sent,'PEAR_Error') ) { - $this->addEvent('SYSERR',false, $ret->getMessage()); + $this->addEvent('SYSERR',false, $sent->getMessage()); $this->jerr($ret->getMessage()); } + $this->addEvent('PASSREQ',$u, $u->email); $uu = clone($u); $uu->no_reset_sent++;