From my testing the validation doesn't happen against the username when the user edits their account. Digging around I noticed the validation attaches to form_id "user_register" and "user_edit". I am pretty sure there isn't a "user_edit" form and instead it should be "user_profile_form".
See attached patch.
| Comment | File | Size | Author |
|---|---|---|---|
| custom_username_validation.module.edituser.patch | 538 bytes | colin49 |
Comments
Comment #1
colin49 commentedComment #2
Schneck commentedAdded form_id "user_profile_form" in newest release, please check.