Add incredibly simple authentication to the app.
TODO: Manage feeds
This commit is contained in:
1 parent
49ac6f34bc
commit
2e07b29941
9 files changed
+197
-3
No files matched your search
@@ -30,6 +30,11 @@ class FeedController
|
||||
{
|
||||
$this->logger->info("FeedController::get_feed() called");
|
||||
$feed = $this->feedRepository->find($request->getAttribute('id'));
|
||||
|
||||
if (empty($feed)) {
|
||||
return $response->withStatus(404);
|
||||
}
|
||||
|
||||
$filtered = $feed->get_filtered_feed();
|
||||
|
||||
$body = $response->getBody();
|
||||
|
||||
Reference in new issue
Block a user