Validar con headers
This commit is contained in:
@ -88,7 +88,7 @@ class API
|
||||
$data = $this->externalPaths[$basePath][$subPath];
|
||||
if (isset($data['validator'])) {
|
||||
$method = [$data['validator'], 'validateToken'];
|
||||
if ($method($request, $data['token'])) {
|
||||
if ($method($request, $data)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user