From 6cb083925610f9c13683f7b952d03c9a73120233 Mon Sep 17 00:00:00 2001 From: Brady McDonough Date: Thu, 15 Feb 2024 16:03:17 -0700 Subject: [PATCH] Missing parameter for workflows --- src/Factory.php | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/Factory.php b/src/Factory.php index 07df3d7..2670cd3 100644 --- a/src/Factory.php +++ b/src/Factory.php @@ -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 + ); } }