Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Improve MatrixError when user tries to create an account with digits only #8125

@bmarty

Description

@bmarty

Could be nice to send errcode M_INVALID_USERNAME, for the moment, the client receives M_UNKNOWN:

{"errcode":"M_UNKNOWN","error":"Numeric user IDs are reserved for guest users."}

Originally posted by @bmarty in #7625 (comment)

Metadata

Metadata

Assignees

Labels

Z-Help-WantedWe know exactly how to fix this issue, and would be grateful for any contribution

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions