Answer the question
In order to leave comments, you need to log in
Registering an event triggered by password recovery in Bitrix?
You need to hang an event handler that occurs when the user recovers the password.
In the list of all Bitrix events https://dev.1c-bitrix.ru/api_help/main/events/inde... I found an event that fits - OnBeforeUserChangePassword (before changing the user password). But it seems to be no longer supported? Why is there no description for OnBeforeUserChangePassword ?
Answer the question
In order to leave comments, you need to log in
The OnBeforeUserChangePassword event is supported and called in the \CAllUser::ChangePassword() method. This function is called when the user has already entered a control string and a new password, i.e. just before the change. There is also the OnBeforeUserSendPassword event - it is called in the \CAllUser::SendPassword() method before sending the message with the control string.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question