This commit is contained in:
Yuri Kuznetsov
2020-07-02 12:36:33 +03:00
parent 0e1b88fd25
commit 9ac3cc23f7
4 changed files with 8 additions and 2 deletions
+1
View File
@@ -420,6 +420,7 @@ class Application
$conditions = $route['conditions'] ?? [];
if (($conditions['auth'] ?? true) === false) {
$authRequired = false;
}
$auth = $this->createAuth($request);
+1 -1
View File
@@ -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;
}