mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Add oauth to User model
This commit is contained in:
parent
0f6d1ed150
commit
c1f66b968e
1 changed files with 3 additions and 2 deletions
|
@ -2,13 +2,14 @@
|
|||
|
||||
namespace App;
|
||||
|
||||
use Laravel\Passport\HasApiTokens;
|
||||
use Illuminate\Notifications\Notifiable;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||
use Illuminate\Notifications\Notifiable;
|
||||
|
||||
class User extends Authenticatable
|
||||
{
|
||||
use Notifiable, SoftDeletes;
|
||||
use Notifiable, SoftDeletes, HasApiTokens;
|
||||
|
||||
/**
|
||||
* The attributes that should be mutated to dates.
|
||||
|
|
Loading…
Reference in a new issue