updated document

This commit is contained in:
Simon Pocrnjič
2025-10-12 19:07:41 +02:00
parent 23f2011e33
commit ec6456cf23
4 changed files with 205 additions and 81 deletions
@@ -136,10 +136,6 @@ public function resolve(
}
}
}
// If still not allowed, permit tokens explicitly scanned/stored on the template
if (! $isAllowed && $templateTokens) {
$isAllowed = in_array($token, $templateTokens, true);
}
if (! $isAllowed) {
if ($policy === 'fail') {
throw new \RuntimeException("Nedovoljen stolpec token: $token");