added ready to use admin and customer middleware
This commit is contained in:
parent
a3032ad1d2
commit
ad455bb544
@ -41,6 +41,22 @@ class Kernel extends HttpKernel
|
||||
'company.currencies',
|
||||
],
|
||||
|
||||
'admin' => [
|
||||
'web',
|
||||
'language',
|
||||
'auth',
|
||||
'adminmenu',
|
||||
'permission:read-admin-panel',
|
||||
],
|
||||
|
||||
'customer' => [
|
||||
'web',
|
||||
'language',
|
||||
'auth',
|
||||
'customermenu',
|
||||
'permission:read-customer-panel',
|
||||
],
|
||||
|
||||
'api' => [
|
||||
'api.auth',
|
||||
'throttle:60,1',
|
||||
|
Loading…
x
Reference in New Issue
Block a user