| Код |
|---|
$component = '';
if($_REQUEST['change_password'] === 'yes') {
$component = 'bitrix:system.auth.changepasswd';
} else {
$component = 'bitrix:system.auth.forgotpasswd';
}
$APPLICATION->IncludeComponent(
$component,
"",
Array(
"SHOW_ERRORS" => "Y",
"AUTH_RESULT" => $APPLICATION->arAuthResult
)
);
|