Skip to content

Username minimum length still set to 4 in Admin panel #1341

Closed
@elquimista

Description

@elquimista

Describe the bug

Username minimum length is still set to 4 in Admin panel. The new minimum length of 2 works fine in user's self settings but not in Admin panel when admin tries to update user's profile. And there is also a discrepancy in the minimum length for display name between user's own settings page and admin panel page.

#1313 addressed a similar bug but only for user-facing part and did not address the admin panel part.

To Reproduce

Steps to reproduce the behavior:

  1. Log in as administrator.
  2. Click Admin in the left side bar.
  3. Click on Users in the left side bar.
  4. Click three dots in the Action column for any user, and then click Edit profile.
  5. Try to update Display name and Username to 3-letter string and see error.

Expected behavior

It should allow usernames with 2 characters and more in length, and allow display name with 1 character and more in length.

Platform

  • Device: Desktop
  • OS: macOS Monterey
  • Browser and version: Chrome
  • Version: v1.5.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions