Skip to content

fix: properly handle usernames that are too long.

Martijn Houtman requested to merge hotfix/handle-long-usernames into master

In Drupal, a username has a max length (defined by UserInterface::USERNAME_MAX_LENGTH, defualt 60 characters). Whenever a user with a username longer than this, the module did not handle this properly, and returned an HTTP 500 code. This has not been changed for both creating and updating users with a username longer than 60, resulting in a HTTP code 400.

Merge request reports

Loading