* some stuff moved to UtilityModule(old DoctrineExpressiveModule)
* api auth in place
This commit is contained in:
@@ -61,4 +61,7 @@ return function (Application $app, MiddlewareFactory $factory, ContainerInterfac
|
||||
$app->get('/awards', App\Handler\AwardeeRedirectHandler::class, 'awardees');
|
||||
$app->get('/awards/{year:\d+}', App\Handler\AwardeeHandler::class, 'awardees-by-year');
|
||||
$app->get('/awardee/{slug}', App\Handler\ProfileHandler::class, 'awardee');
|
||||
|
||||
$app->post('/api/auth/login', UtilityModule\Handler\AuthHandler::class, 'api.auth.login');
|
||||
$app->get('/api/auth/renew', UtilityModule\Handler\AuthHandler::class, 'api.auth.renew');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user