Last active
December 2, 2019 16:36
-
-
Save jacobgraf/1e77164ed9e9937211ab769fd9785b18 to your computer and use it in GitHub Desktop.
Laravel Default Auth Routes (6.x)
This file contains hidden or 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
<?php | |
/* Laravel Auth Routes */ | |
// Login/Logout | |
Route::get('login', 'Auth\LoginController@showLoginForm')->name('login'); | |
Route::post('login', 'Auth\LoginController@login'); | |
Route::post('logout', 'Auth\LoginController@logout')->name('logout'); | |
// Password Confirmation | |
Route::get('password/confirm', 'Auth\ConfirmPasswordController@showConfirmForm')->name('password.confirm'); | |
Route::post('password/confirm', 'Auth\ConfirmPasswordController@confirm'); | |
// Forgot Password | |
Route::post('password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail')->name('password.email'); | |
Route::get('password/reset', 'Auth\ForgotPasswordController@showLinkRequestForm')->name('password.request'); | |
Route::post('password/reset', 'Auth\ResetPasswordController@reset')->name('password.update'); | |
Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm')->name('password.reset'); | |
// Registration | |
Route::get('register', 'Auth\RegisterController@showRegistrationForm')->name('register'); | |
Route::post('register', 'Auth\RegisterController@register'); | |
/* End Laravel Auth Routes */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment