EmilMoe
2 years ago

Always returning App\User

Posted 2 years ago by EmilMoe

I have extended App\User from Packages\User\User, but my problem is whenever I instantiate a new user, it's returning App\User, making me unable to query methods on Packages\User\User.

I have modified config.auth.providers.users.model to my Packages\User\User::class.

How can I solve this?

Please sign in or create an account to participate in this conversation.