Skip to content

Missing user provider for guard null #81

@ConnorMoodyDev

Description

@ConnorMoodyDev

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions