Skip to content

Instantly share code, notes, and snippets.

@dansup
Last active January 5, 2017 01:41
Show Gist options
  • Save dansup/9638f9c43ff7e9f118cdb085b3c4621b to your computer and use it in GitHub Desktop.
Save dansup/9638f9c43ff7e9f118cdb085b3c4621b to your computer and use it in GitHub Desktop.
Auth routes for Laravel 5.3.28
<?php
Route::get('login', 'Auth\LoginController@showLoginForm')->name('login');
Route::post('login', 'Auth\LoginController@login');
Route::post('logout', 'Auth\LoginController@logout')->name('logout');
// Registration Routes...
Route::get('register', 'Auth\RegisterController@showRegistrationForm')->name('register');
Route::post('register', 'Auth\RegisterController@register');
// Password Reset Routes...
Route::get('password/reset', 'Auth\ForgotPasswordController@showLinkRequestForm');
Route::post('password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail');
Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm');
Route::post('password/reset', 'Auth\ResetPasswordController@reset');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment