<?php

$inputRules = [
    "email" => ["required" => true, "validate" => ["filter" => FILTER_VALIDATE_EMAIL]],
];

if (__RB_validateInput($inputRules, 'forgot')) {
    $__RB_success['forgot'] = true;
}

