From 952b6a649e21085a0547d2f9a82f4a003efe9763 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tim.dijen@minbzk.nl> Date: Sun, 23 Aug 2020 10:09:15 +0200 Subject: [PATCH] Remove unnecessary type-check; we already tested this in the assertions --- modules/core/lib/Auth/Process/TargetedID.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/core/lib/Auth/Process/TargetedID.php b/modules/core/lib/Auth/Process/TargetedID.php index c66cef40f..ec2c2cc75 100644 --- a/modules/core/lib/Auth/Process/TargetedID.php +++ b/modules/core/lib/Auth/Process/TargetedID.php @@ -70,9 +70,6 @@ class TargetedID extends Auth\ProcessingFilter ); $this->identifyingAttribute = $config['identifyingAttribute']; - if (!is_string($this->identifyingAttribute)) { - throw new Exception('Invalid attribute name given to core:TargetedID filter.'); - } if (array_key_exists('nameId', $config)) { $this->generateNameId = $config['nameId']; -- GitLab