Add oauth to User model

pull/426/head
Daniel Supernault 7 years ago
parent 0f6d1ed150
commit c1f66b968e
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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.

Loading…
Cancel
Save