mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-31 10:24:25 +00:00
25 lines
950 B
PHP
25 lines
950 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::group(['prefix' => 'account', 'namespace' => 'Account', 'as' => 'account.'], function () {
|
|
|
|
Route::group(['namespace' => 'Authentication'], function () {
|
|
|
|
Route::group(['prefix' => 'login', 'as' => 'authenticate.'], function () {
|
|
Route::post('/', 'UserAuthenticationController@authenticate')->name('attempt');
|
|
Route::post('/check_email', 'CheckEmailController@check')->name('email.check');
|
|
});
|
|
|
|
Route::group(['prefix' => 'password', 'as' => 'password.'], function () {
|
|
Route::post('/forget', 'GeneratePasswordResetController@generate')->name('forget');
|
|
Route::post('/reset', 'ResetPasswordController@reset')->name('reset');
|
|
});
|
|
|
|
});
|
|
|
|
Route::group(['prefix' => 'user', 'namespace' => 'User', 'as' => 'user.'], function () {
|
|
Route::get('list', 'ListUsersController@list')->name('list');
|
|
});
|
|
|
|
}); |