mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-23 23:49:53 +01:00
Update routes
This commit is contained in:
parent
6761b9e40b
commit
9a7ef19177
@ -37,6 +37,7 @@
|
||||
});
|
||||
|
||||
Route::delete('twofaccounts', 'TwoFAccountController@batchDestroy');
|
||||
Route::patch('twofaccounts/withdraw', 'TwoFAccountController@withdraw');
|
||||
Route::post('twofaccounts/reorder', 'TwoFAccountController@reorder');
|
||||
Route::post('twofaccounts/preview', 'TwoFAccountController@preview');
|
||||
Route::get('twofaccounts/{twofaccount}/qrcode', 'QrCodeController@show');
|
||||
@ -44,7 +45,7 @@
|
||||
Route::get('twofaccounts/{id}/otp', 'TwoFAccountController@otp')->where('id', '[0-9]+');;
|
||||
Route::post('twofaccounts/otp', 'TwoFAccountController@otp');
|
||||
Route::apiResource('twofaccounts', 'TwoFAccountController');
|
||||
Route::patch('group/accounts', 'GroupController@associateAccounts');
|
||||
Route::post('groups/{group}/assign', 'GroupController@assignAccounts');
|
||||
Route::apiResource('groups', 'GroupController');
|
||||
|
||||
// Done
|
||||
|
Loading…
Reference in New Issue
Block a user