Update user model

This commit is contained in:
Daniel Supernault 2023-07-14 04:33:05 -06:00
parent c07233a1c1
commit 4b611be2d9
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -21,7 +21,8 @@ class User extends Authenticatable
protected $casts = [ protected $casts = [
'deleted_at' => 'datetime', 'deleted_at' => 'datetime',
'email_verified_at' => 'datetime', 'email_verified_at' => 'datetime',
'2fa_setup_at' => 'datetime' '2fa_setup_at' => 'datetime',
'last_active_at' => 'datetime',
]; ];
/** /**
@ -30,7 +31,13 @@ class User extends Authenticatable
* @var array * @var array
*/ */
protected $fillable = [ protected $fillable = [
'name', 'username', 'email', 'password', 'app_register_ip' 'name',
'username',
'email',
'password',
'app_register_ip',
'email_verified_at',
'last_active_at'
]; ];
/** /**