From b2c77b267eb80088dd61632b481e6524fe49656f Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 9 Mar 2016 12:58:08 +0100 Subject: [PATCH] added some routes --- composer.json | 2 +- routes.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 43da77f..c3797b8 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "issues": "https://github.com/flashwave/sakura/issues" }, "require": { - "php": ">=5.4.0", + "php": ">=5.5.0", "ext-curl": "*", "ext-json": "*", "twig/twig": "*", diff --git a/routes.php b/routes.php index 677816b..b52014d 100644 --- a/routes.php +++ b/routes.php @@ -18,6 +18,11 @@ Router::post('/login', 'AuthController@loginPost', 'auth.login'); Router::get('/logout', 'AuthController@logout', 'auth.logout'); Router::get('/register', 'AuthController@registerGet', 'auth.register'); Router::post('/register', 'AuthController@registerPost', 'auth.register'); +Router::get('/resetpassword', 'AuthController@resetPasswordGet', 'auth.resetpassword'); +Router::post('/resetpassword', 'AuthController@resetPasswordPost', 'auth.resetpassword'); +Router::get('/reactivate', 'AuthController@reactivateGet', 'auth.reactivate'); +Router::post('/reactivate', 'AuthController@reactivatePost', 'auth.reactivate'); +Router::get('/activate', 'AuthController@activate', 'auth.activate'); // News Router::get('/news', 'MetaController@news', 'news.index');