Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.9
-
None
-
n/a
-
MOODLE_19_STABLE
-
MOODLE_19_STABLE, MOODLE_20_STABLE
Description
low hanging fruit:
check_group_entry in enrol.php has a loop on groups, currently it iterates all the groups all the time:
foreach ($groups as $group) {
if ( !empty($group->enrolmentkey) and (stripslashes($password) == $group->enrolmentkey) )
}
maybe someone can put a break in when there is a match.