Laravel 6: Call to undefined method App\User::createToken()
I’m trying to generate a token to authenticate users in my Controller the following way: namespace AppHttpControllersAPI; use IlluminateFoundationAuthAuthenticatesUsers; use IlluminateHttp…