feat: update password
This commit is contained in:
@@ -35,6 +35,7 @@ Route::prefix('auth')->group(function (): void {
|
||||
Route::post('logout', [AuthController::class, 'logout']);
|
||||
Route::get('me', [AuthController::class, 'me']);
|
||||
Route::patch('me', [AuthController::class, 'update'])->middleware(['verified', 'throttle:content-write']);
|
||||
Route::patch('me/password', [AuthController::class, 'updatePassword'])->middleware('throttle:account-action');
|
||||
Route::delete('me', [AuthController::class, 'destroy'])->middleware('throttle:account-action');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user