Created
August 8, 2017 11:20
-
-
Save ianfagg/0e3bbd2f075480eb9dfcb56e3afa20d5 to your computer and use it in GitHub Desktop.
Spark user verification
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 | |
/* | |
|-------------------------------------------------------------------------- | |
| Application Routes | |
|-------------------------------------------------------------------------- | |
| | |
| Here is where you can register all of the routes for an application. | |
| It's a breeze. Simply tell Laravel the URIs it should respond to | |
| and give it the controller to call when that URI is requested. | |
| | |
*/ | |
Route::get('/', 'WelcomeController@show'); | |
// Overwrite Spark's Register function so we can add User Verification... | |
Route::post('/register', 'Auth\RegisterController@register'); | |
// Overwrite Spark's login function so we can add User Verification... | |
Route::post('/login', 'Auth\LoginController@login'); | |
// To stop un-verified users getting a reset email... | |
Route::post('/password/email', 'Auth\PasswordController@sendResetLinkEmail'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment