Add change password for pembida

This commit is contained in:
Amir
2023-06-06 08:54:39 +08:00
parent e2a31a2703
commit 0fed12900e
2 changed files with 91 additions and 0 deletions
+2
View File
@@ -43,6 +43,8 @@ Route::group(['middleware' => ['auth:sanctum']], function () {
Route::post('/user/logout', [AuthController::class, 'logoutUser']);
Route::get('/user/profile/{nokp}', [UserController::class, 'getProfileUser']);
Route::post('/password/reset', [ResetPasswordController::class, 'reset']);
//change password user
Route::post('/changePassword', [UserController::class, 'changePassword']);
// User Profile
Route::get('/user/profile', [UserController::class, 'getProfileUser']);