Fixed password reset routine.

This commit is contained in:
James Cole
2016-01-19 18:32:09 +01:00
parent a313265785
commit 86e127ebff
3 changed files with 41 additions and 19 deletions

View File

@@ -3,7 +3,23 @@
// auth routes, i think
Route::group(
['middleware' => 'web'], function () {
Route::auth();
// Authentication Routes...
Route::get('/login', 'Auth\AuthController@showLoginForm');
Route::post('/login', 'Auth\AuthController@login');
Route::get('/logout', 'Auth\AuthController@logout');
// Registration Routes...
Route::get('/register', ['uses' => 'Auth\AuthController@showRegistrationForm', 'as' => 'register']);
Route::post('/register', 'Auth\AuthController@register');
Route::get('/password/reset', 'Auth\PasswordController@getReset');
// Password Reset Routes...
Route::get('/password/reset/{token?}', 'Auth\PasswordController@showResetForm');
Route::post('/password/email', 'Auth\PasswordController@sendResetLinkEmail');
Route::post('/password/reset', 'Auth\PasswordController@reset');
//Route::get('/home', 'HomeController@index');
}