Skip to content

Commit

Permalink
Update blog/src/Auth/Controller/ChangeController.php
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Makarov <[email protected]>
  • Loading branch information
rossaddison and samdark authored Dec 5, 2023
1 parent 8a77ee4 commit 64aabee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/src/Auth/Controller/ChangeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function change(
FormHydrator $formHydrator,
ChangeForm $changeForm
): ResponseInterface {
// permit an authenticated user with permission editPost (ie. not a guest) only and null!== current user
// permit an authenticated user with permission editPost (i.e. not a guest) only and null !== current user
if (!$authService->isGuest()) {
// see demo/blog/resources/rbac
if ($this->current_user->can('editPost',[])) {
Expand Down

0 comments on commit 64aabee

Please sign in to comment.