after the update of the module Password Reset Landing Page (PRLP) 8.x-1.6 the hooks that does the $form["#submit"][] stoped working.

I can see the debug goes inside the hook, but the function that was supposed to be registered "my_function" wont be called after submit.

The reason why was because this code was removed from core:
"$this->formBuilder()->buildForm(UserPasswordResetForm::class, $form_state);"

do you guys know if we are going to have a patch for this?

How to replicate, just hook on form submit and add your custon function on form["#submit"][].

thank you

Comments

sandro2567 created an issue.