T
T
TechNOIR2018-07-29 16:27:27
1C-Bitrix
TechNOIR, 2018-07-29 16:27:27

Bitrix. system.auth.forgotpasswd doesn't print any messages. How to fix?

Good afternoon! system.auth.forgotpasswd is included
on the site.com/forgot
page, but it doesn't display any messages. That is, I write an existing email, it sends a letter, just reloads the page but does not write that "The letter has been sent"
I write an email that does not exist in the database, it again simply reloads the page but does not write that such an email is not in the database ..
How can I solve this problem?
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetPageProperty("title", "Password recovery");
?>
<? $APPLICATION->IncludeComponent("bitrix:system.auth.forgotpasswd",
".default",
)
); ?>
<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>
PS Found this https://dev.1c-bitrix.ru/api_help/main/reference/c...
This is solution? I don't understand how to embed only in this case ..

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Emelyanov, 2018-07-30
@babarun

system* components are connected by the system. To do this, it initiates this constant before connecting the header
define ("NEED_AUTH", true);

Z
ZardoZAntony, 2021-01-06
@ZardoZAntony

The results of the forms are here.
$APPLICATION->arAuthResult
In Bitrix through the ass, customization of the default authorization/registration/change password forms is done.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question