Reduce logging further; we know the main error condition now

This commit is contained in:
Brady Wetherington 2022-05-17 19:57:42 -07:00
parent 4e65a8d755
commit b4a0d33ba8

View file

@ -104,15 +104,12 @@ class LoginController extends Controller
*/ */
private function loginViaSaml(Request $request) private function loginViaSaml(Request $request)
{ {
\Log::debug('Attempting to login via SAML');
$saml = $this->saml; $saml = $this->saml;
$samlData = $request->session()->get('saml_login'); $samlData = $request->session()->get('saml_login');
if ($saml->isEnabled() && ! empty($samlData)) { if ($saml->isEnabled() && ! empty($samlData)) {
\Log::debug('SAML is enabled, and the samleData is not empty');
try { try {
Log::debug('Attempting to log user in by SAML authentication.');
$user = $saml->samlLogin($samlData); $user = $saml->samlLogin($samlData);
if (!is_null($user)) { if (!is_null($user)) {