D
D
Denis99992018-03-07 01:54:00
1C-Bitrix
Denis9999, 2018-03-07 01:54:00

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

1 answer(s)
D
Dmitry, 2018-03-07
@mrsoul

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 question

Ask a Question

731 491 924 answers to any question