1
0
Fork 0

Add oauth to User model

This commit is contained in:
Daniel Supernault 2018-08-31 18:38:07 -06:00
parent 0f6d1ed150
commit c1f66b968e
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 3 additions and 2 deletions

View File

@ -2,13 +2,14 @@
namespace App; namespace App;
use Laravel\Passport\HasApiTokens;
use Illuminate\Notifications\Notifiable;
use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable class User extends Authenticatable
{ {
use Notifiable, SoftDeletes; use Notifiable, SoftDeletes, HasApiTokens;
/** /**
* The attributes that should be mutated to dates. * The attributes that should be mutated to dates.