diff --git a/www/auth/login-feide.php b/www/auth/login-feide.php index 5c73854386907a4861b76e997f7a7f5e283f8dd5..2f1c9c46a1888fadd733594c725fbb48ebd7b135 100644 --- a/www/auth/login-feide.php +++ b/www/auth/login-feide.php @@ -192,10 +192,10 @@ if (isset($_REQUEST['username'])) { /** - * Retrieve organizational attributes, if the edupersonorgdn attribute is set. + * Retrieve organizational attributes, if the eduPersonOrgDN attribute is set. */ - if (isset($attributes['edupersonorgdn'])) { - $orgdn = $attributes['edupersonorgdn'][0]; + if (isset($attributes['eduPersonOrgDN'])) { + $orgdn = $attributes['eduPersonOrgDN'][0]; $orgattributes = $ldap->getAttributes($orgdn); $orgattr = array_keys($orgattributes);