nova-impersonate icon indicating copy to clipboard operation
nova-impersonate copied to clipboard

Missing user provider for guard null

Open ConnorMoodyDev opened this issue 3 years ago • 0 comments

Using a fresh install of nova-impersonate I am receiving the following error:

Lab404 \ Impersonate \ Exceptions \ MissingUserProvider
Missing user provider for guard null

This appears to be taking place in nova-impersonate\src\Http\Controllers\ImpersonateController.php in the take method. Line 32.


$user_to_impersonate = $this->manager->findUserById($id, $guardName);

This then throws a MissingUserProvider from the ImpersonateManager


if (empty($providerName)) {
            throw new MissingUserProvider($guardName);
        }
        

Is there something I am missing in the documentation?

ConnorMoodyDev avatar Apr 07 '21 23:04 ConnorMoodyDev