mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 05:07:27 +02:00
Remove user-password from event trigger email notifications when detected.
This commit is contained in:
@@ -101,6 +101,11 @@ class notify
|
|||||||
*/
|
*/
|
||||||
function generic($data,$id)
|
function generic($data,$id)
|
||||||
{
|
{
|
||||||
|
if(isset($data['user_password']))
|
||||||
|
{
|
||||||
|
unset($data['user_password']);
|
||||||
|
}
|
||||||
|
|
||||||
$message = print_a($data,true);
|
$message = print_a($data,true);
|
||||||
$this->send($id, 'Event Triggered: '.$id, $message);
|
$this->send($id, 'Event Triggered: '.$id, $message);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user