This commit is contained in:
2026-10-20 10:26:45 +03:30
parent 4d0f0f8c8d
commit a5f3b3b4b3
8 changed files with 377 additions and 2 deletions
+3 -1
View File
@@ -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.