mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 01:04:09 +02:00
Fix coding style
This commit is contained in:
parent
86ad5f738b
commit
57f3023ec4
@ -93,18 +93,22 @@ class LdapUserBackend extends UserBackend
|
|||||||
$result = $q->fetchRow();
|
$result = $q->fetchRow();
|
||||||
if (! isset($result)) {
|
if (! isset($result)) {
|
||||||
throw new AuthenticationException(
|
throw new AuthenticationException(
|
||||||
sprintf('No objects with objectClass="%s" in DN="%s" found.',
|
sprintf(
|
||||||
|
'No objects with objectClass="%s" in DN="%s" found.',
|
||||||
$this->userClass,
|
$this->userClass,
|
||||||
$this->conn->getDN()
|
$this->conn->getDN()
|
||||||
));
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! isset($result->{$this->userNameAttribute})) {
|
if (! isset($result->{$this->userNameAttribute})) {
|
||||||
throw new AuthenticationException(
|
throw new AuthenticationException(
|
||||||
sprintf('UserNameAttribute "%s" not existing in objectClass="%s"',
|
sprintf(
|
||||||
|
'UserNameAttribute "%s" not existing in objectClass="%s"',
|
||||||
$this->userNameAttribute,
|
$this->userNameAttribute,
|
||||||
$this->userClass
|
$this->userClass
|
||||||
));
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user