Skip to content

Instantly share code, notes, and snippets.

@Maras0830
Created December 23, 2016 03:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Maras0830/a099a09a60dd479794241980033d4abd to your computer and use it in GitHub Desktop.
Save Maras0830/a099a09a60dd479794241980033d4abd to your computer and use it in GitHub Desktop.
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