Make the accounts sortable and persist new order.

Deactivate Pull-to-refresh feature to prevent side effects
This commit is contained in:
Bubka
2020-03-27 22:36:01 +01:00
parent 361e6a87f1
commit eaabe6e9e3
5 changed files with 83 additions and 41 deletions

View File

@ -37,6 +37,7 @@ Route::group(['middleware' => 'auth:api'], function() {
});
Route::delete('twofaccounts/batch', 'TwoFAccountController@batchDestroy');
Route::patch('twofaccounts/reorder', 'TwoFAccountController@reorder');
Route::apiResource('twofaccounts', 'TwoFAccountController');
Route::post('twofaccounts/otp', 'TwoFAccountController@generateOTP')->name('twofaccounts.generateOTP');
Route::post('qrcode/decode', 'QrCodeController@decode');