Commit ea3a5d4d authored by Vassilis Kanellopoulos's avatar Vassilis Kanellopoulos
Browse files

fix remove second csrf middleware for login route

parent b02ba692
......@@ -102,8 +102,4 @@ return function (Slim\App $app) {
$app->get('/', GrEduLabs\Application\Action\Index::class)->setName('index');
$app->get('/about', GrEduLabs\Application\Action\About::class)->setName('about');
});
$events('on', 'app.bootstrap', function ($stop, $app, $container) {
$container['router']->getNamedRoute('user.login')->add('csrf');
}, -10);
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment