Skip to content

Commit 4e997bf

Browse files
QUASAR-3979 - webhooks index
1 parent 33f26e9 commit 4e997bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/authfilter/filter/AuthFilter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public function beforeAction($action)
6666
*/
6767
public function getScope(string $namespace, string $controller, string $action = ''): string
6868
{
69+
$divider = '.';
6970
return trim(implode($divider, [$namespace, $controller, $action]), $divider);
7071
}
7172

@@ -88,7 +89,7 @@ public function validateScopes(Action $action, array $tokenInfo)
8889
if ($scope === $this->getScope($namespace, $controllerId, '')) {
8990
return true;
9091
}
91-
92+
9293
if ($scope === $this->getScope($namespace, $controllerId, $actionId)) {
9394
return true;
9495
}

0 commit comments

Comments
 (0)