diff --git a/auth-ldap/authentication.php b/auth-ldap/authentication.php index 2f93de8..7cbc2dc 100644 --- a/auth-ldap/authentication.php +++ b/auth-ldap/authentication.php @@ -433,7 +433,7 @@ function authenticate($username, $password=false, $errors=array()) { function getName() { $config = $this->config; list($__, $_N) = $config->translate(); - return $__(static::$name); + return $config->getName() ?: $__(static::$name); } function lookup($dn) {