- Issue created by @norbert-goco
- π·πΈSerbia norbert-goco Subotica
I've created a patch for Drupal 11.
- π¬π§United Kingdom jeremyskinner
We've also run into the same issue, however the solution in this patch #2 isn't correct,.
Although this patch will fix the issue for Drupal 11, it will then cause failures under Drupal 10 which is a breaking change as user_registrationpassword supports both 10 and 11.
The correct way to handle this is to do a core version check and perform different calls depending on the core version. My colleage will provide an updated patch shortly.
- π¬π§United Kingdom mjb3141
Updated Patch to perform a core version check.
- π¬π§United Kingdom joehuggans Harrogate, UK
joe huggans β made their first commit to this issueβs fork.
- π¬π§United Kingdom joehuggans Harrogate, UK
Created MR with patch from #4, and corrected some phpcs stuff.
The 2 tests that are failing are already failing in the same points before this patch is applied, not sure what the module maintainers want to do about this? Do we need a new issue to fix these? Or is there one already open that I missed?
Tested in Drupal 10 and no error occurs when resetting password.