Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There was a constraint in d7 that prevented users from having their username as part of their password. This needed updating to d8.
The constraint should:
* Prevent users from creating a password that contains their username
Patch coming in just a sec, tests included.
Comments
Comment #2
Sophie.SKPatch attached. Includes tests.
Comment #3
Sophie.SKUpdating status.
Comment #4
nerdsteinAssigning to myself to review
Comment #5
nerdsteinI did a code review of this.
Would this really have a checkbox in the configuration form? Under what circumstances would someone add the constraint and they would not want that box checked?
A hidden field with some description is likely more ideal.
My patch includes this.
I've tested and will be merging.
Comment #6
nerdsteinPushed to 8.x-3.x