Skip to content

Allow single-letter first and last names in user accounts

Currently, the first name and last name fields validation requires at least two letters, preventing users with a single-letter first or last name (e.g., "A") from creating an account. The regex that does the validation should be adjusted to accept single-letter names while still restricting unsupported characters.

https://gitlab.eclipse.org/eclipsefdn/it/websites/drupal/eclipsefdn/-/blob/9.1.x/eclipsefdn_accounts/src/Helper/ProfileFormManager.php?ref_type=heads#L698

This issue was originally raised on Slack by @mplagge, who was contacted by an Open VSX user unable to create an Eclipse account because one of their names contains only a single letter.

Edited by Eric Poirier