mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 13:55:01 +02:00
Add Password and Profile update
This commit is contained in:
@ -27,8 +27,8 @@ Route::group(['middleware' => 'guest:api'], function () {
|
||||
Route::group(['middleware' => 'auth:api'], function() {
|
||||
|
||||
Route::post('logout', 'UserController@logout');
|
||||
Route::patch('user/edit', 'UserController@update');
|
||||
Route::patch('user/password', 'UserController@changePassword');
|
||||
Route::patch('password', 'UserController@updatePassword');
|
||||
Route::patch('user', 'UserController@update');
|
||||
Route::get('user', 'UserController@getDetails');
|
||||
|
||||
Route::apiResource('twofaccounts', 'TwoFAccountController');
|
||||
|
Reference in New Issue
Block a user