diff --git a/src/Workflow/UserManagement.php b/src/Workflow/UserManagement.php index fc2725d..838bd52 100644 --- a/src/Workflow/UserManagement.php +++ b/src/Workflow/UserManagement.php @@ -81,9 +81,9 @@ class UserManagement implements WorkflowInterface { if (\is_null($this->db->getSecret($this->userIndex))) { - $this->viewEnrollForm(); + return $this->viewEnrollForm(); } - $this->viewUnenrollForm(); + return $this->viewUnenrollForm(); } function response(): bool