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
Hello Brendan Heywood
I was talking about auth_enrolkey/auth.php, calling a value " $enrolplugin->id " from user_signup( )
$enrolplugins = $DB->get_records('enrol', array('password' => $user->signup_token));
$availableenrolids = [];
foreach ($enrolplugins as $enrolplugin) {
$data = new stdClass();
$data->enrolpassword = $enrolplugin->password;
$availableenrolids[] = $enrolplugin->id;
}
I want to pass $enrolplugin->id value to user_confirm( ). Is this is possible:
Many Thanks!
The text was updated successfully, but these errors were encountered:
Hello Brendan Heywood
I was talking about auth_enrolkey/auth.php, calling a value " $enrolplugin->id " from user_signup( )
The text was updated successfully, but these errors were encountered: