Skip to content

Instantly share code, notes, and snippets.

@mrsimonbennett
Created March 10, 2018 07:24
Show Gist options
  • Save mrsimonbennett/6537d833ba1ee8d966545672c881457a to your computer and use it in GitHub Desktop.
Save mrsimonbennett/6537d833ba1ee8d966545672c881457a to your computer and use it in GitHub Desktop.
<?php
// 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');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment