update email template

This commit is contained in:
baodev0
2026-09-09 16:56:22 +07:00
parent d3d9f76ba0
commit 2365ef72e9
210 changed files with 6335 additions and 4688 deletions
+3 -8
View File
@@ -23,9 +23,8 @@ class User extends Authenticatable implements JWTSubject
* @var array<int, string>
*/
protected $fillable = [
'firstname',
'fullname',
'password',
'lastname',
'username',
'email',
'email_verified_at',
@@ -41,10 +40,7 @@ class User extends Authenticatable implements JWTSubject
*
* @var array<int, string>
*/
protected $hidden = [
'password',
'remember_token',
];
protected $hidden = ['password', 'remember_token'];
/**
* The attributes that should be cast.
@@ -53,7 +49,7 @@ class User extends Authenticatable implements JWTSubject
*/
protected $casts = [
'email_verified_at' => 'datetime',
'start_date' => 'date',
'start_date' => 'date',
];
public function getJWTIdentifier()
@@ -75,5 +71,4 @@ class User extends Authenticatable implements JWTSubject
{
return $this->hasOne(\App\Models\Staff::class, 'user_id', 'id');
}
}