Skip to content

Commit

Permalink
add additional log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
eschultz-magix committed Nov 26, 2018
1 parent ef2f0de commit f67a317
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -95,8 +95,16 @@ private function executeGuardAuthenticator($uniqueGuardKey, AuthenticatorInterfa
{
$request = $event->getRequest();
try {
if (null !== $this->logger) {
$this->logger->debug('Checking support on guard authenticator.', array('firewall_key' => $this->providerKey, 'authenticator' => \get_class($guardAuthenticator)));
}

// abort the execution of the authenticator if it doesn't support the request
if (!$guardAuthenticator->supports($request)) {
if (null !== $this->logger) {
$this->logger->debug('Guard authenticator does not support the request.', array('firewall_key' => $this->providerKey, 'authenticator' => \get_class($guardAuthenticator)));
}

return;
}

Expand Down

0 comments on commit f67a317

Please sign in to comment.