Add Password and Profile update

This commit is contained in:
Bubka
2020-01-23 23:02:54 +01:00
parent ad18021019
commit 4e38e0bbfb
10 changed files with 250 additions and 11 deletions

View File

@ -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');