You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using Moodle 3.9 using latest version of your local_cohortrole plugin in conjuntion with local_profilecohort. The latest defines users membership using specific rules throwing an event that is taken by your plugin.
The issue is that core_user::require_active_user($user) throws an Exception reporting a usernotconfirmed error.
This is understandable because the $user which is registering for the first time to moodle, isn't already confirmed. In fact, when $user confirms his registration (ex. by email link) there is no events managed by your plugin and the user isn't assigned to the cohort.
Thank you for your attention,
Alessandro
The text was updated successfully, but these errors were encountered:
Hi, I'm using Moodle 3.9 using latest version of your local_cohortrole plugin in conjuntion with local_profilecohort. The latest defines users membership using specific rules throwing an event that is taken by your plugin.
The issue is that
core_user::require_active_user($user)
throws an Exception reporting ausernotconfirmed
error.This is understandable because the $user which is registering for the first time to moodle, isn't already confirmed. In fact, when $user confirms his registration (ex. by email link) there is no events managed by your plugin and the user isn't assigned to the cohort.
Thank you for your attention,
Alessandro
The text was updated successfully, but these errors were encountered: