Auth::routes()
// routes/web.php
Auth::routes();// Authentication routes
$this->get('login', 'Auth\LoginController@showLoginForm')->name('login');
$this->post('login', 'Auth\LoginController@login');
$this->post('logout', 'Auth\LoginController@logout')->name('logout');
// Registration routes
$this->get('register', 'Auth\RegisterController@showRegistrationForm')
->name('register');
$this->post('register', 'Auth\RegisterController@register');
// Password reset routes
$this->get('password/reset', 'Auth\ForgotPasswordController@showLinkRequestForm')
->name('password.request');
$this->post('password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail')
->name('password.email');
$this->get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm')
->name('password.reset');
$this->post('password/reset', 'Auth\ResetPasswordController@reset');
// If email verification is enabled
$this->get('email/verify', 'Auth\VerificationController@show')
->name('verification.notice');
$this->get('email/verify/{id}', 'Auth\VerificationController@verify')
->name('verification.verify');
$this->get('email/resend', 'Auth\VerificationController@resend')
->name('verification.resend');Last updated