Fixed typo

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-10-21 17:43:53 -07:00
parent ae430959a4
commit 3b16157d6b

View file

@ -228,7 +228,7 @@ class LdapSync extends Command
try {
$ldap_manager = Ldap::findLdapUsers($item['manager'], -1, $this->option('filter'));
} catch (\Exception $e) {
\Log::warn("Manager lookup caused an exception: " . $e->getMessage() . ". Falling back to direct username lookup");
\Log::warning("Manager lookup caused an exception: " . $e->getMessage() . ". Falling back to direct username lookup");
// Hail-mary for Okta manager 'shortnames' - will only work if
// Okta configuration is using full email-address-style usernames
$ldap_manager = [