mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
30 lines
1.1 KiB
PHP
30 lines
1.1 KiB
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::group(['prefix' => 'account', 'namespace' => 'Accounts', 'as' => 'account.'], function () {
|
|
|
|
Route::group(['prefix' => 'authentication', 'as' => 'authentication.'], function () {
|
|
|
|
Route::group(['prefix' => 'login', 'as' => 'authenticate.'], function () {
|
|
Route::post('/attempt', 'UserAuthenticationController@authenticate')->name('attempt');
|
|
});
|
|
|
|
// Route::group(['prefix' => 'password', 'as' => 'password.'], function () {
|
|
// Route::post('/forget', 'GeneratePasswordResetController@generate')->name('forget');
|
|
// Route::post('/reset', 'ResetPasswordController@reset')->name('reset');
|
|
// });
|
|
|
|
});
|
|
|
|
Route::group(['middleware' => 'valid.token'], function () {
|
|
Route::post('/registration-setp-2', 'RegistrationStep2Controller@create')->name('registration-step-2');
|
|
});
|
|
|
|
Route::post('/registration', 'CreateUserController@create')->name('registration');
|
|
|
|
// Route::group(['prefix' => 'user', 'as' => 'user.'], function () {
|
|
// Route::get('list', 'ListUsersController@list')->name('list');
|
|
// });
|
|
|
|
}); |