controller update

This commit is contained in:
2026-03-05 18:43:19 -06:00
parent 14588269d6
commit 020e473dc9
9 changed files with 196 additions and 42 deletions

View File

@@ -2,34 +2,33 @@
namespace App\Models\Auth;
// use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
/** @use HasFactory<\Database\Factories\UserFactory> */
use HasFactory, Notifiable;
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var list<string>
*/
protected $fillable = [
'character_id',
'character_name',
'character_owner_hash',
'character_name',
'character_id',
'token',
'refresh_token',
'expiresIn',
'user', // holds jwt (per spec)
];
/**
* The attributes that should be hidden for serialization.
*
* @var list<string>
*/
protected $hidden = [
'token',
'refresh_token',
'remember_token',
];
protected function casts(): array
{
return [
'expiresIn' => 'integer',
];
}
}