Missing parameter for workflows

master
Brady McDonough 2 years ago
parent 3740fcea30
commit 6cb0839256

@ -46,7 +46,13 @@ class Factory
public function userManagement(mixed $userIndex): UserManagement
{
return new UserManagement($this->db, $this->request, $this->csrf, $this->session, $userIndex);
return new UserManagement(
$this->db, $this->request,
$this->csrf,
$this->session,
$userIndex,
$this->hash
);
}
public function authenticate(mixed $userIndex): ?Authenticate
@ -54,7 +60,14 @@ class Factory
if(\is_null($this->db->getSecret($userIndex)))
return null;
else
return new Authenticate($this->db, $this->request, $this->csrf, $this->session, $userIndex);
return new Authenticate(
$this->db,
$this->request,
$this->csrf,
$this->session,
$userIndex,
$this->hash
);
}
}

Loading…
Cancel
Save