This commit is contained in:
lexx committed 2026-05-07 21:34:43 +03:00
1 parent 48e32bfdcb
commit a5161cb6b4
3 files changed
+31 -33

No files matched your search

+2 -1
View File
@@ -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
{