<?php

namespace App\Http\Controllers\Accounts;

use App\Classes\Modules\Accounts\ControllersLogic\ResetPasswordLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class ResetPasswordController
{

    /**
     * @param Request $request
     * @param ResendEmailVerificationLogic $logic
     * @return JsonResponse
     */
    public function reset(Request $request, ResetPasswordLogic $logic): JsonResponse  {
        return $logic->execute($request);
    }
}