mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-26 02:52:30 +01:00
Disable account API until it is implemented
This commit is contained in:
parent
7a19019980
commit
c0abf64f83
@ -97,11 +97,11 @@
|
|||||||
<i class="fa fa-lock"></i> <span>@lang('navigation.account.security_controls')</span>
|
<i class="fa fa-lock"></i> <span>@lang('navigation.account.security_controls')</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="{{ (Route::currentRouteName() !== 'account.api' && Route::currentRouteName() !== 'account.api.new') ?: 'active' }}">
|
{{--<li class="{{ (Route::currentRouteName() !== 'account.api' && Route::currentRouteName() !== 'account.api.new') ?: 'active' }}">--}}
|
||||||
<a href="{{ route('account.api')}}">
|
{{--<a href="{{ route('account.api')}}">--}}
|
||||||
<i class="fa fa-code"></i> <span>@lang('navigation.account.api_access')</span>
|
{{--<i class="fa fa-code"></i> <span>@lang('navigation.account.api_access')</span>--}}
|
||||||
</a>
|
{{--</a>--}}
|
||||||
</li>
|
{{--</li>--}}
|
||||||
<li class="{{ Route::currentRouteName() !== 'index' ?: 'active' }}">
|
<li class="{{ Route::currentRouteName() !== 'index' ?: 'active' }}">
|
||||||
<a href="{{ route('index')}}">
|
<a href="{{ route('index')}}">
|
||||||
<i class="fa fa-server"></i> <span>@lang('navigation.account.my_servers')</span>
|
<i class="fa fa-server"></i> <span>@lang('navigation.account.my_servers')</span>
|
||||||
|
@ -30,15 +30,16 @@ Route::group(['prefix' => 'account'], function () {
|
|||||||
|
|
|
|
||||||
| Endpoint: /account/api
|
| Endpoint: /account/api
|
||||||
|
|
|
|
||||||
|
| Temporarily Disabled
|
||||||
*/
|
*/
|
||||||
Route::group(['prefix' => 'account/api'], function () {
|
//Route::group(['prefix' => 'account/api'], function () {
|
||||||
Route::get('/', 'AccountKeyController@index')->name('account.api');
|
// Route::get('/', 'AccountKeyController@index')->name('account.api');
|
||||||
Route::get('/new', 'AccountKeyController@create')->name('account.api.new');
|
// Route::get('/new', 'AccountKeyController@create')->name('account.api.new');
|
||||||
|
//
|
||||||
Route::post('/new', 'AccountKeyController@store');
|
// Route::post('/new', 'AccountKeyController@store');
|
||||||
|
//
|
||||||
Route::delete('/revoke/{identifier}', 'AccountKeyController@revoke')->name('account.api.revoke');
|
// Route::delete('/revoke/{identifier}', 'AccountKeyController@revoke')->name('account.api.revoke');
|
||||||
});
|
//});
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user