update email template
This commit is contained in:
+3
-8
@@ -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');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user