mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
no message
This commit is contained in:
1 parent
44ea5c5927
commit
97e48f6ef1
1 file changed
+1
-1
@@ -30,7 +30,7 @@ class HorizonServiceProvider extends HorizonApplicationServiceProvider
|
|||||||
protected function gate(): void
|
protected function gate(): void
|
||||||
{
|
{
|
||||||
Gate::define('viewHorizon', function ($user) {
|
Gate::define('viewHorizon', function ($user) {
|
||||||
dd($user);
|
return true;
|
||||||
return in_array($user->email, [
|
return in_array($user->email, [
|
||||||
//
|
//
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in new issue
Block a user