hrimhari / moodle-auth_emailadmin

Moodle plugin to provide email self-registration with admin confirmation
GNU General Public License v3.0
14 stars 20 forks source link

There is no event after confirm (core\event\user_updated) #52

Open christianmilillo opened 3 years ago

christianmilillo commented 3 years ago

After the account is confirmed, there is no associated event.

There is an event after account is created, but it's necessary to do the same action after account is confirmed.

Possible solution:

Add \core\event\user_updated::create_from_userid($user->id)->trigger(); at line 189 in auth.php