FIX args on logs
This commit is contained in:
parent
2489e2c209
commit
16e787ec0c
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,8 @@ final class LogsAction extends AbstractAction
|
|||
{
|
||||
public function __invoke(Request $request, Response $response, $args)
|
||||
{
|
||||
$sid = $args['sid'];
|
||||
$sid = null;
|
||||
if (array_key_exists('sid', $args)) $sid = $args['sid'];
|
||||
|
||||
$this->ts->login($this->auth->getIdentity()['user'], $this->auth->getIdentity()['password']);
|
||||
if (empty($sid)) {
|
||||
|
|
Reference in a new issue