diff --git a/lib/SimpleSAML/Auth/ProcessingChain.php b/lib/SimpleSAML/Auth/ProcessingChain.php index 24f1df99a815b1ecf1fa233919f7710f05db12aa..eeba0d6b8f6a3b3d1889b64a19491b9c73db3ca2 100644 --- a/lib/SimpleSAML/Auth/ProcessingChain.php +++ b/lib/SimpleSAML/Auth/ProcessingChain.php @@ -5,6 +5,7 @@ declare(strict_types=1); namespace SimpleSAML\Auth; use Exception; +use SAML2\Exception\Protocol\NoPassiveException; use SimpleSAML\Assert\Assert; use SimpleSAML\Configuration; use SimpleSAML\Error; @@ -289,7 +290,7 @@ class ProcessingChain $filter = array_shift($state[self::FILTERS_INDEX]); try { $filter->process($state); - } catch (SAML2\Exception\Protocol\NoPassiveException $e) { + } catch (NoPassiveException $e) { // Ignore \SAML2\Exception\Protocol\NoPassiveException exceptions } }