Add personal API access token
This commit is contained in:
@@ -28,6 +28,7 @@ class AuthenticationMiddleware extends Base implements MiddlewareInterface
|
||||
public function execute($username, $password, $procedureName)
|
||||
{
|
||||
$this->dispatcher->dispatch('app.bootstrap');
|
||||
$this->sessionStorage->scope = 'API';
|
||||
|
||||
if ($this->isUserAuthenticated($username, $password)) {
|
||||
$this->userSession->initialize($this->userModel->getByUsername($username));
|
||||
|
||||
Reference in New Issue
Block a user