You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.4 KiB
22 lines
1.4 KiB
<?php
|
|
/**
|
|
* Account Routes
|
|
*/
|
|
Route::group(['middleware' => 'web','as'=>'auth.'], function() {
|
|
Route::get('login', ['as'=>'login', 'uses' => 'AuthController@getLogin']);
|
|
Route::post('login', ['as'=>'login', 'uses' => 'AuthController@postLogin']);
|
|
Route::get('logout', ['as'=>'logout', 'uses' => 'AuthController@getLogout']);
|
|
Route::get('register', ['as'=>'register', 'uses' => 'AuthController@getRegister']);
|
|
Route::post('register', ['as'=>'register', 'uses' => 'AuthController@postRegister']);
|
|
Route::get('activate', ['as'=>'activate', 'uses' => 'AuthController@getActivate']);
|
|
Route::get('change-password', ['as'=>'change-password', 'uses' => 'AuthController@getChangePassword']);
|
|
Route::post('change-password', ['as'=>'change-password', 'uses' => 'AuthController@postChangePassword']);
|
|
Route::get('profile', ['as'=>'profile', 'uses' => 'AuthController@getProfile']);
|
|
Route::patch('profile', ['as'=>'profile', 'uses' => 'AuthController@patchProfile']);
|
|
});
|
|
|
|
// Password Reset Routes...
|
|
Route::get('password/reset', 'Auth\ForgotPasswordController@showLinkRequestForm')->name('auth.reset-request');
|
|
Route::post('password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail')->name('auth.reset-email');
|
|
Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm')->name('password.reset');
|
|
Route::post('password/reset', 'Auth\ResetPasswordController@reset')->name('reset-password');
|