404labfr / laravel-impersonate

Laravel Impersonate is a plugin that allows you to authenticate as your users.

Home Page:https://marceau.casals.fr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Call to undefined method App\Models\User::impersonate()

magarrent opened this issue · comments

Hey there!

Maybe there is something missing in the documentation? I have to add use Impersonate; in my User model to use ->impersonate() method.

Using Laravel 9

Do you mean like this?
Screen Shot 2023-03-30 at 4 39 26 PM

Do you mean like this? Screen Shot 2023-03-30 at 4 39 26 PM

Lol! I'm officially blind hahhah
Sorry mate