Fix all-numeric usernames rejected as invalid JSON schema

What does this MR do and why?

Fixes the issue with creating all-numeric usernames as described in #680 (closed)

Screenshots or screen recordings

Screenshot_2026-03-14_134529

Screenshot_2026-03-14_135108

How to set up and validate locally

  1. Create a new user with all digits as the username.
  2. View the user list, observe the user exists.
  3. Log in as that user, confirm the account works.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

  • Have you checked this doesn't interfere/conflict/duplicate someone elses work?
  • Have you fully tested your changes?
  • Have you resolved any lint issues?
  • Have you assigned a reviewer?
  • Have you applied correct labels?
Edited by Iain Powrie

Merge request reports

Loading
Loading