Add ability to create a feed from the UI. Still TODO: make it not look like utter shite.
This commit is contained in:
1 parent
cee4f9944e
commit
0e06d5587f
11 files changed
+946
-633
No files matched your search
@@ -15,7 +15,7 @@ class LoginMiddleware implements MiddlewareInterface {
|
||||
private readonly UserRepository $users,
|
||||
) {}
|
||||
|
||||
private function redirectToLogin() {
|
||||
private function redirectToLogin(): ResponseInterface {
|
||||
$response = new Response(302);
|
||||
return $response->withHeader('Location', '/account/login');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user