Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Passport User.php
<?php
namespace App;
use Laravel\Passport\HasApiTokens; //use HasApiTokens
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use HasApiTokens, Notifiable;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment