mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-34319 auth_cas: Fixed issue with undefined variable: ldapconnection
This commit is contained in:
parent
974c2cdc03
commit
c28694dc38
@ -422,6 +422,7 @@ class auth_plugin_cas extends auth_plugin_ldap {
|
||||
|
||||
// Test for group creator
|
||||
if (!empty($this->config->groupecreators)) {
|
||||
$ldapconnection = $this->ldap_connect();
|
||||
if ($this->config->memberattribute_isdn) {
|
||||
if(!($userid = $this->ldap_find_userdn($ldapconnection, $extusername))) {
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user