mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-26 10:13:44 +02:00
feat(ssh-keys): add ssh key endpoints and ui components
This commit is contained in:
@@ -33,6 +33,10 @@ Route::group(['prefix' => '/account'], function () {
|
||||
Route::get('/webauthn/register', 'WebauthnController@register')->withoutMiddleware(RequireTwoFactorAuthentication::class);
|
||||
Route::post('/webauthn/register', 'WebauthnController@create')->withoutMiddleware(RequireTwoFactorAuthentication::class);
|
||||
Route::delete('/webauthn/{id}', 'WebauthnController@deleteKey')->withoutMiddleware(RequireTwoFactorAuthentication::class);
|
||||
|
||||
Route::get('/ssh', 'SSHKeyController@index');
|
||||
Route::post('/ssh', 'SSHKeyController@store');
|
||||
Route::delete('/ssh/{ssh_key}', 'SSHKeyController@delete');
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user