404labfr / 404labfr/laravel-impersonate

[Laravel v8.72] Method getRecallerName does not exist

Open
#145 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2.3k
Forks
235
PR merge metrics
No merged PRs in 30d

Description

After upgrading from Laravel **v8.71.x** to Laravel **v8.72.0**, it became impossible to impersonate users.
When I try to impersonate a user, I am simply logged out.

My log files show the following:

`Method Illuminate\Auth\RequestGuard::getRecallerName does not exist.`

{
"userId":1,
"exception":"[object] (BadMethodCallException(code: 0): Method Illuminate\\Auth\\RequestGuard::getRecallerName does not exist. at /home/app-123/vendor/laravel/framework/src/Illuminate/Macroable/Traits/Macroable.php:113
)

It seems that the new Laravel version 8.72 contains a breaking change for the laravel-impersonate package.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.