setup
This commit is contained in:
1 parent
48e32bfdcb
commit
a5161cb6b4
3 files changed
+31
-33
No files matched your search
@@ -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