From b9876a5ad8d97148447fa896f1d87f5a2d94cfa3 Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 31 May 2019 17:14:03 +0300 Subject: [PATCH] Flextype Box Plugin: Admin #125 #117 - Routes updates --- site/plugins/admin/routes.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/site/plugins/admin/routes.php b/site/plugins/admin/routes.php index 09e6b432..52717608 100644 --- a/site/plugins/admin/routes.php +++ b/site/plugins/admin/routes.php @@ -63,4 +63,6 @@ $app->post('/admin/snippets/delete', 'SnippetsController:deleteProcess')->setNam // UsersController $app->get('/admin/registration', 'UsersController:registration')->setName('admin.users.registration'); -$app->get('/admin/registrationProcess', 'UsersController:registrationProcess')->setName('admin.users.registrationProcess'); +$app->post('/admin/registration', 'UsersController:registrationProcess')->setName('admin.users.registrationProcess'); +$app->get('/admin/login', 'UsersController:login')->setName('admin.users.login'); +$app->post('/admin/login', 'UsersController:loginProcess')->setName('admin.users.loginProcess');