From c0abf64f83722da2716ab26e1dfc859ab084d985 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Tue, 30 Jan 2018 22:46:56 -0600 Subject: [PATCH] Disable account API until it is implemented --- .../themes/pterodactyl/layouts/master.blade.php | 10 +++++----- routes/base.php | 17 +++++++++-------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/resources/themes/pterodactyl/layouts/master.blade.php b/resources/themes/pterodactyl/layouts/master.blade.php index 1b3d81667..80770293d 100644 --- a/resources/themes/pterodactyl/layouts/master.blade.php +++ b/resources/themes/pterodactyl/layouts/master.blade.php @@ -97,11 +97,11 @@ @lang('navigation.account.security_controls') -
  • - - @lang('navigation.account.api_access') - -
  • + {{--
  • --}} + {{----}} + {{-- @lang('navigation.account.api_access')--}} + {{----}} + {{--
  • --}}
  • @lang('navigation.account.my_servers') diff --git a/routes/base.php b/routes/base.php index c66b33e90..3947b7551 100644 --- a/routes/base.php +++ b/routes/base.php @@ -30,15 +30,16 @@ Route::group(['prefix' => 'account'], function () { | | Endpoint: /account/api | +| Temporarily Disabled */ -Route::group(['prefix' => 'account/api'], function () { - Route::get('/', 'AccountKeyController@index')->name('account.api'); - Route::get('/new', 'AccountKeyController@create')->name('account.api.new'); - - Route::post('/new', 'AccountKeyController@store'); - - Route::delete('/revoke/{identifier}', 'AccountKeyController@revoke')->name('account.api.revoke'); -}); +//Route::group(['prefix' => 'account/api'], function () { +// Route::get('/', 'AccountKeyController@index')->name('account.api'); +// Route::get('/new', 'AccountKeyController@create')->name('account.api.new'); +// +// Route::post('/new', 'AccountKeyController@store'); +// +// Route::delete('/revoke/{identifier}', 'AccountKeyController@revoke')->name('account.api.revoke'); +//}); /* |--------------------------------------------------------------------------