Created
December 23, 2016 03:56
-
-
Save Maras0830/a099a09a60dd479794241980033d4abd to your computer and use it in GitHub Desktop.
Passport User.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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