We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d262a1 commit 0c9944aCopy full SHA for 0c9944a
src/SimpleSAML/Auth/ProcessingChain.php
@@ -240,7 +240,9 @@ public static function resumeProcessing(array $state): Response
240
while (count($state[self::FILTERS_INDEX]) > 0) {
241
$filter = array_shift($state[self::FILTERS_INDEX]);
242
try {
243
- $filter->process($state);
+ if ($filter->checkPrecondition($state) === true) {
244
+ $filter->process($state);
245
+ }
246
} catch (Error\Exception $e) {
247
State::throwException($state, $e);
248
} catch (Exception $e) {
0 commit comments