e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
318 stars 212 forks source link

Add user_id to event data when no verification is used #5071

Open Jimmi08 opened 9 months ago

Jimmi08 commented 9 months ago

Bug Description

this: $allData = validatorClass::validateFields($_POST,$userMethods->userVettingInfo, TRUE);

returns

    [data] => Array
        (
            [user_name] =>***
            [user_loginname] => ****
            [user_password] => ****
            [user_email] => ****
            [user_hideemail] => 1
        )

When there is no verification set , this trigger is used and user_id is missing then. image

e107::getEvent()->trigger('userfull', array_merge($allData['data'], varset($eufVals['data'], array())));

admin_user_activate send all data (including user_id) - tested user_signup_activated should send all data - not tested, checked in code.

Thanks