Skip to content
Snippets Groups Projects
Commit b7f9b225 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Nettoyage exception PDOException non lancée puisque qu'inexistante.

parent f38c4ce0
No related branches found
No related tags found
No related merge requests found
<?php
namespace UnicaenAuth\Authentication\Adapter;
use PDOException;
use Zend\ServiceManager\Exception\ServiceNotFoundException;
use UnicaenAuth\Options\ModuleOptions;
use Zend\ServiceManager\Exception\ServiceNotFoundException;
use Zend\ServiceManager\ServiceManager;
use Zend\ServiceManager\ServiceManagerAwareInterface;
use ZfcUser\Authentication\Adapter\AdapterChainEvent as AuthEvent;
......@@ -39,9 +39,6 @@ class Db extends \ZfcUser\Authentication\Adapter\Db implements ServiceManagerAwa
try {
$result = parent::authenticate($e);
}
catch (PDOException $e) {
return false;
}
catch (ServiceNotFoundException $e) {
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment