Forgot Account

This commit is contained in:
Kawlll Maxso
2019-03-22 10:05:07 +08:00
parent 8af6a5cca6
commit 9d5015aef2
5 changed files with 175 additions and 0 deletions
+3
View File
@@ -1,6 +1,7 @@
<?php
Route::get('/', 'Auth\LoginController@showLoginForm')->name('login');
Route::get('/forgot', 'Auth\ForgotPasswordController@showForgotForm')->name('login');
Route::group(['prefix' => 'auth'], function () {
Route::post('/login', 'Auth\LoginController@login')->name('auth.login');
@@ -9,6 +10,8 @@ Route::group(['prefix' => 'auth'], function () {
Route::post('/registration/create', 'Account\RegisterAccountController@register')->name('auth.registration.create');
Route::post('/forgot', 'Account\ForgotAccountController@forgot')->name('auth.forgot');
Route::get('/logout', 'Auth\LoginController@logout')->name('auth.logout');
});