Skip to content

Commit

Permalink
minor #20066 [Security] add the $token argument to `checkPostAuth()…
Browse files Browse the repository at this point in the history
…` (xabbuh)

This PR was merged into the 7.2 branch.

Discussion
----------

[Security] add the `$token` argument to `checkPostAuth()`

fixes #20062

Commits
-------

f5f16af add the $token argument to checkPostAuth()
  • Loading branch information
javiereguiluz committed Oct 16, 2024
2 parents 9d85b69 + f5f16af commit cde34e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/user_checkers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ displayed to the user::
}
}

public function checkPostAuth(UserInterface $user): void
public function checkPostAuth(UserInterface $user, TokenInterface $token): void
{
if (!$user instanceof AppUser) {
return;
Expand Down

0 comments on commit cde34e1

Please sign in to comment.