Make SAML debugging less noisy

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-06-21 17:57:17 -07:00
parent de048e1009
commit 7f8fc7add9

View file

@ -136,13 +136,12 @@ class LoginController extends Controller
// Better logging
if (!$saml->isEnabled()) {
\Log::warning("SAML page requested, but SAML does not seem to enabled.");
\Log::debug("SAML page requested, but SAML does not seem to enabled.");
} else {
\Log::warning("SAML page requested, but samlData seems empty.");
}
}
\Log::warning("Something else went wrong while trying to login as SAML user");
}