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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user