1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 20:57:26 +02:00

Remove user-password from event trigger email notifications when detected.

This commit is contained in:
Cameron
2020-05-27 11:40:04 -07:00
parent f4aa8645f0
commit 618db455ec

View File

@@ -101,6 +101,11 @@ class notify
*/
function generic($data,$id)
{
if(isset($data['user_password']))
{
unset($data['user_password']);
}
$message = print_a($data,true);
$this->send($id, 'Event Triggered: '.$id, $message);
}