From 3b16157d6b6c6930e39b896e4c1786c527629543 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 21 Oct 2022 17:43:53 -0700 Subject: [PATCH] Fixed typo Signed-off-by: snipe --- app/Console/Commands/LdapSync.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/LdapSync.php b/app/Console/Commands/LdapSync.php index 523fc4ad0b..0483c57467 100755 --- a/app/Console/Commands/LdapSync.php +++ b/app/Console/Commands/LdapSync.php @@ -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 = [