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