From 014ea69f5394021f92a789defbbd7113f4932e0a Mon Sep 17 00:00:00 2001 From: glovetleong Date: Tue, 28 Sep 2021 20:29:34 +0800 Subject: [PATCH] pull --- routes/account.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/account.php b/routes/account.php index b4afd03f..cd230f7c 100644 --- a/routes/account.php +++ b/routes/account.php @@ -33,7 +33,7 @@ Route::group(['prefix' => 'account', 'namespace' => 'Accounts', 'as' => 'account Route::post('/verification/resend', 'ResendEmailVerificationController@resend')->name('verification.resend'); }); - // Route::group(['middleware' => 'valid.token'], function () { + Route::group(['middleware' => 'valid.token'], function () { Route::group(['prefix' => 'user', 'as' => 'user.'], function () { Route::post('/show', 'FetchUserController@fetch')->name('show'); @@ -43,5 +43,5 @@ Route::group(['prefix' => 'account', 'namespace' => 'Accounts', 'as' => 'account Route::post('/admin/create', 'CreateAdminUserController@create')->name('admin.create'); Route::delete('/delete/{id}', 'DeleteUserController@delete')->name('delete'); }); - // }); + }); }); \ No newline at end of file