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));