Authenticacion
This commit is contained in:
@ -11,7 +11,7 @@ abstract class Controller implements ControllerInterface {
|
||||
->withHeader('Content-Type', 'application/json')
|
||||
->withStatus(201);
|
||||
}
|
||||
public function withRedirect(string $uri): Response {
|
||||
public function withRedirect(Response $response, string $uri): Response {
|
||||
return $response
|
||||
->withHeader('Location', $uri)
|
||||
->withStatus(303);
|
||||
|
Reference in New Issue
Block a user