alle angemeldeten User können das Panel sehen
This commit is contained in:
1 parent
02ac740254
commit
6456f4eaf2
1 file changed
+1
-1
+1
-1
@@ -29,7 +29,7 @@ class User extends Authenticatable implements FilamentUser
|
|||||||
|
|
||||||
public function canAccessPanel(Panel $panel): bool
|
public function canAccessPanel(Panel $panel): bool
|
||||||
{
|
{
|
||||||
return str_ends_with($this->email, '@auerbach-stiftung.de') || str_ends_with($this->email, '@digital-infinity.de');
|
return true;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* The attributes that should be hidden for serialization.
|
* The attributes that should be hidden for serialization.
|
||||||
|
|||||||
Reference in new issue
Block a user