1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 00:05:29 +00:00

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

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.