- WIP on user auth
This commit is contained in:
1 parent
7769b1a1ca
commit
9ae3e2d6f9
6 files changed
+38
-37
No files matched your search
@@ -26,6 +26,8 @@ class PostRequestAuthenticationMiddleware implements MiddlewareInterface
|
||||
|
||||
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
||||
{
|
||||
$this->authenticator->authenticate->rememberMe();
|
||||
|
||||
if ( $this->authenticator->catchRequest($request) ) {
|
||||
if ( ! $this->authenticator->connect($request, $this->entity) ) {
|
||||
return call_user_func($this->loginFailedResponse, "Login failed");
|
||||
|
||||
Reference in new issue
Block a user