Add route to get TwoFAccount with sensitive data

This commit is contained in:
Bubka
2020-11-16 14:10:54 +01:00
parent 8253d28102
commit 27dd64a965
2 changed files with 13 additions and 0 deletions

View File

@ -38,6 +38,7 @@ Route::group(['middleware' => 'auth:api'], function() {
Route::delete('twofaccounts/batch', 'TwoFAccountController@batchDestroy');
Route::patch('twofaccounts/reorder', 'TwoFAccountController@reorder');
Route::get('twofaccounts/{twofaccount}/withSensitive', 'TwoFAccountController@showWithSensitive');
Route::apiResource('twofaccounts', 'TwoFAccountController');
Route::patch('group/accounts', 'GroupController@associateAccounts');
Route::apiResource('groups', 'GroupController');