Created
March 11, 2017 12:53
-
-
Save mojoblanco/6af9ee1d50cbfb033cce7d77854afa2c to your computer and use it in GitHub Desktop.
Laravel Auth Routes Without Registration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Auth Routes | |
Route::group(['namespace' => 'Auth'], function () { | |
Route::get('login', 'LoginController@showLoginForm')->name('login'); | |
Route::post('login', 'LoginController@login')->name('login'); | |
Route::post('logout', 'LoginController@logout')->name('logout'); | |
Route::post('password/email', 'ForgotPasswordController@sendResetLinkEmail')->name('password.email'); | |
Route::get('password/reset', 'ForgotPasswordController@showLinkRequestForm')->name('password.request'); | |
Route::post('password/reset', 'ResetPasswordController@reset'); | |
Route::get('password/reset/{token}', 'ResetPasswordController@showResetForm')->name('password.reset'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment