- Issue created by @pcambra
- Merge request !15Issue #3473598: When calling "change_pwd_form" programmatically, the account... → (Open) created by pcambra
- Status changed to Needs review
8 months ago 1:28pm 12 September 2024
When invoking the "change_pwd_form" form like so:
\Drupal::formBuilder()->getForm('Drupal\change_pwd_page\Form\ChangePasswordForm');
The buildForm method expects the user to be filled in.
Initialise the $user variable earlier on.
Needs review
2.0
Code