setup
This commit is contained in:
@@ -22,7 +22,8 @@ readonly class AuthServiceLunar implements AuthService
|
||||
} elseif (request()->segment(1) !== "lucent") {
|
||||
return config("lucent.systemUserId");
|
||||
}
|
||||
return Filament::auth()->user()->id;
|
||||
|
||||
return Filament::auth()->user()->id ?? null;
|
||||
}
|
||||
public function getCurrentUser(): User
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user