Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing user provider for guard null #81

Open
ConnorMoodyDev opened this issue Apr 7, 2021 · 0 comments
Open

Missing user provider for guard null #81

ConnorMoodyDev opened this issue Apr 7, 2021 · 0 comments

Comments

@ConnorMoodyDev
Copy link

ConnorMoodyDev commented Apr 7, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant