<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.0.6
 * @ Release: 10/08/2022
 */

require_once "init.php";
require_once ROOTDIR . "/includes" . DIRECTORY_SEPARATOR . "clientareafunctions.php";
$controller = new WHMCS\ClientArea\PasswordResetController();
$request = WHMCS\Http\Message\ServerRequest::fromGlobals();
$response = NULL;
if ($_SERVER["REQUEST_METHOD"] === "POST" && $request->has("email")) {
    $response = $controller->validateEmail($request);
}
if (!$response) {
    $response = $controller->emailPrompt($request);
}
(new Laminas\HttpHandlerRunner\Emitter\SapiEmitter())->emit($response);

?>