Files
dots-bot-api/app/Models/User.php
T
KKlochko ea363b956e Update User class.
Added the needed fields and removed unused fields.
2023-06-15 17:43:59 +03:00

26 lines
550 B
PHP

<?php
namespace App\Models;
// use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class User extends Authenticatable
{
use HasApiTokens, HasFactory, Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array<int, string>
*/
protected $fillable = [
'name',
'matrix_username',
'phone',
];
}