@jokerdz have you defined the right user model in config/auth.php?
Nov 18, 2020
6
Level 11
Laravel Passport
Hello , when i use this statement in login class : $success['token'] = Auth::user()->createToken('MyApp')->accessToken; it show me : undefined methode createToken
But it work correctly in registre class
so can someone help me ?
Please or to participate in this conversation.