Skip to content

404 when trying to impersonate #74

@waotaa

Description

@waotaa

When I try to impersonate a user I get a 404. After manually changing the url the impersonation does not work.

The url he's trying to follow:
/nova-impersonate/users/8/web?redirect_to=%2F

My User Resource:

public function fields(Request $request)
    {
        return [
            ...
            Impersonate::make($this),
            ...
        ];
    }

I'm also using the canImpersonate method on my user, but that returns true

This looks to me as the most basic implementation of your package, but I can't get it to work

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