diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-11-27 12:01:36 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2019-07-08 01:57:59 +0200 |
commit | bcce2625a8cb0b630d945c6849014049869e10ce (patch) | |
tree | 2031911a85a7a6a85015ff77ca8f9b326fa1da8e /config/routes.php | |
parent | fd4303f336173101b84ba21650e451ad536828fe (diff) |
Implemented AuthController for login
* Moved /login functionality to AuthController
* Refactored password handling logic to use the Authenticator
Diffstat (limited to 'config/routes.php')
-rw-r--r-- | config/routes.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.php b/config/routes.php index e999d026..02fd3abd 100644 --- a/config/routes.php +++ b/config/routes.php @@ -9,6 +9,8 @@ $route->get('/', 'HomeController@index'); $route->get('/credits', 'CreditsController@index'); // Authentication +$route->get('/login', 'AuthController@login'); +$route->post('/login', 'AuthController@postLogin'); $route->get('/logout', 'AuthController@logout'); // Stats |