From 618db455ec4bf2c58d1e428e920523b751572e9e Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 27 May 2020 11:40:04 -0700 Subject: [PATCH] Remove user-password from event trigger email notifications when detected. --- e107_handlers/notify_class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/e107_handlers/notify_class.php b/e107_handlers/notify_class.php index d9888581f..9e9dfb26d 100644 --- a/e107_handlers/notify_class.php +++ b/e107_handlers/notify_class.php @@ -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); }