finished things up

This commit is contained in:
tracer 2022-10-26 11:16:20 +02:00
parent 78f25fdfd3
commit 8bc252ba4d
1 changed files with 0 additions and 4 deletions

View File

@ -28,10 +28,6 @@ $security = $container->get(className: SecurityController::class);
$addressBook = $container->get(className: AddressBookController::class); $addressBook = $container->get(className: AddressBookController::class);
$addressBookAdmin = $container->get(className: AddressBookAdminController::class); $addressBookAdmin = $container->get(className: AddressBookAdminController::class);
// TODO maybe refactor route adding to the controllers?
// I currently think that makes sense.
$router->addRoute(name: 'app_login', route: '/login', callback: function () use ($security) { $router->addRoute(name: 'app_login', route: '/login', callback: function () use ($security) {
$security->login(); $security->login();
}); });