updated document
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user