From eb99f43a8989c0561bb0978a6f0a9385115bc85e Mon Sep 17 00:00:00 2001 From: samuel Date: Fri, 10 Nov 2023 09:05:24 +0100 Subject: [PATCH] CI ok --- public/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.php b/public/index.php index 74124e7..d4c8ae7 100644 --- a/public/index.php +++ b/public/index.php @@ -35,7 +35,7 @@ $router = new AltoRouter(); $router->setBasePath($basePath); $sampleFormController = new SampleFormController(new FormResultGateway($con), $twig); -$authController = new \App\Controller\AuthController(new \App\Gateway\AuthGateway(), $twig); +$authController = new \App\Controller\AuthController(new \App\Model\AuthModel(), $twig); $router->map("GET", "/", fn() => $sampleFormController->displayForm()); $router->map("POST", "/submit", fn() => $sampleFormController->submitForm($_POST));