We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 74a93f0 + c4892d2 commit 4dd1659Copy full SHA for 4dd1659
laravel/app/User.php
@@ -67,4 +67,8 @@ public function getJWTCustomClaims()
67
];
68
69
protected $guard_name = 'api';
70
+
71
+ protected $attributes = [
72
+ 'menuroles' => 'user',
73
+ ];
74
}
laravel/composer.json
@@ -10,7 +10,7 @@
10
"require": {
11
"php": "^7.2",
12
"fideloper/proxy": "^4.0",
13
- "laravel/framework": "^7.0",
+ "laravel/framework": "^7.4",
14
"laravel/tinker": "^2.0",
15
"spatie/laravel-medialibrary": "^7.19.0",
16
"spatie/laravel-permission": "^3.6",
0 commit comments