i forgor part 2
This commit is contained in:
parent
91ffe24544
commit
77954f6281
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ class RpcRoutes implements RouteHandler {
|
|||
try {
|
||||
$authInfo = $this->authorisations->getAuthorisation(uuid: $linkInfo, remoteAddr: $addr);
|
||||
|
||||
if($authInfo->isGranted()) {
|
||||
if($authInfo->granted) {
|
||||
$this->authorisations->markAuthorisationUsed($authInfo);
|
||||
return self::createPayload('auth:ok');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue