dev
This commit is contained in:
@@ -420,6 +420,7 @@ class Application
|
||||
$conditions = $route['conditions'] ?? [];
|
||||
if (($conditions['auth'] ?? true) === false) {
|
||||
$authRequired = false;
|
||||
|
||||
}
|
||||
|
||||
$auth = $this->createAuth($request);
|
||||
|
||||
@@ -58,7 +58,7 @@ class Auth
|
||||
|
||||
protected function resolve()
|
||||
{
|
||||
$this->resolved = true;
|
||||
$this->isResolved = true;
|
||||
}
|
||||
|
||||
protected function resolveUseNoAuth()
|
||||
|
||||
@@ -53,4 +53,9 @@ class RequestWrapper
|
||||
|
||||
return $this->request->getHeaderLine($name);
|
||||
}
|
||||
|
||||
public function getMethod()
|
||||
{
|
||||
return $this->request->getMethod();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ class ResponseWrapper
|
||||
{
|
||||
protected $response;
|
||||
|
||||
public function __construct(Request $response)
|
||||
public function __construct(Response $response)
|
||||
{
|
||||
$this->response = $response;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user