auth service
This commit is contained in:
1 parent
196a7b0215
commit
8959798cd3
1 file changed
+1
-1
@@ -28,7 +28,7 @@ readonly class AuthService
|
||||
if (app()->runningInConsole()) {
|
||||
return config("lucent.systemUserId");
|
||||
} else {
|
||||
return $this->session->get("user.id");
|
||||
return $this->session->get("user.id") || config("lucent.systemUserId");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user