Answer the question
In order to leave comments, you need to log in
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
system* components are connected by the system. To do this, it initiates this constant before connecting the headerdefine ("NEED_AUTH", true);
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 questionAsk a Question
731 491 924 answers to any question