.
This commit is contained in:
+3
-1
@@ -35,7 +35,8 @@ class User extends Authenticatable implements JWTSubject
|
||||
'send_sms',
|
||||
'avatar_id',
|
||||
'email',
|
||||
'sts'
|
||||
'sts',
|
||||
'page_access',
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -56,6 +57,7 @@ class User extends Authenticatable implements JWTSubject
|
||||
protected $casts = [
|
||||
'active'=> 'boolean',
|
||||
'send_sms'=> 'boolean',
|
||||
'page_access' => 'array',
|
||||
];
|
||||
/**
|
||||
* Get the identifier that will be stored in the subject claim of the JWT.
|
||||
|
||||
Reference in New Issue
Block a user