- Fixed a bug where given entity would failed it's loading with an error
This commit is contained in:
1 parent
70daae93f5
commit
0657622eab
2 files changed
+8
-3
No files matched your search
@@ -21,7 +21,7 @@ class PostRequestAuthenticationMiddleware implements MiddlewareInterface
|
||||
protected \Closure $loginFailedResponse,
|
||||
PostRequestAuthentication $authenticator = null,
|
||||
) {
|
||||
$this->authenticator = $authenticator ?: new PostRequestAuthentication(new Authenticate());
|
||||
$this->authenticator = $authenticator ?: new PostRequestAuthentication(new Authenticate($entity));
|
||||
}
|
||||
|
||||
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
||||
|
||||
Reference in new issue
Block a user