Skip to content

Commit

Permalink
Revert auth code change
Browse files Browse the repository at this point in the history
  • Loading branch information
StrykeSlammerII authored Mar 29, 2024
1 parent 33fe07c commit 9a3355e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ use UserFrosting\Sprinkle\Account\Exceptions\ForbiddenException;

// ...

if (!$this->authenticator->checkAccess($currentUser, 'uri_users')) {
if (!$authorizer->checkAccess($currentUser, 'uri_users')) {
throw new ForbiddenException();
}
```
Expand Down

0 comments on commit 9a3355e

Please sign in to comment.