From 910fc08406bf077b7fc52e7040a1ed2d4fda1a7c Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 2 Jun 2022 17:07:49 -0700 Subject: [PATCH] Dropped log level to warn on SAML error Signed-off-by: snipe --- app/Services/Saml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Saml.php b/app/Services/Saml.php index ab56e5c94..c8fed32bb 100644 --- a/app/Services/Saml.php +++ b/app/Services/Saml.php @@ -134,7 +134,7 @@ class Saml $this->_auth = new OneLogin_Saml2_Auth($this->_settings); } catch (Exception $e) { if ( $this->isEnabled() ) { // $this->loadSettings() initializes this to true if SAML is enabled by settings. - \Log::error('Trying OneLogin_Saml2_Auth failed. Setting SAML enabled to false. OneLogin_Saml2_Auth error message is: '. $e->getMessage()); + \Log::warning('Trying OneLogin_Saml2_Auth failed. Setting SAML enabled to false. OneLogin_Saml2_Auth error message is: '. $e->getMessage()); } $this->_enabled = false; }