Skip to content
Snippets Groups Projects
Unverified Commit 952b6a64 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Remove unnecessary type-check; we already tested this in the assertions

parent 78861caa
No related branches found
No related tags found
No related merge requests found
...@@ -70,9 +70,6 @@ class TargetedID extends Auth\ProcessingFilter ...@@ -70,9 +70,6 @@ class TargetedID extends Auth\ProcessingFilter
); );
$this->identifyingAttribute = $config['identifyingAttribute']; $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)) { if (array_key_exists('nameId', $config)) {
$this->generateNameId = $config['nameId']; $this->generateNameId = $config['nameId'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment