You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.
{
"errcode": "M_INVALID_USERNAME",
"error": "User ID can only contain characters a-z, 0-9, or '_-./'"
}
I believe Synapse will just set the new username to the next available user ID. So for instance, if my homeserver has registered 3 users, the newly generated username would be @4:homeserver.xyz. We can either use this method or some other method that generates ID in an increasing manner.
Summary:
Don't error out if a username is not provided as part of registration
Generate and return a new username if one was not provided
Create test case(s) that checks for a successful registration without a username, and that the returned generated username is valid
The text was updated successfully, but these errors were encountered:
Spec URL: https://matrix.org/docs/spec/client_server/r0.3.0.html#post-matrix-client-r0-register
Phase: 1
We currently do not generate a username if
username
is not set as part of aPOST
request to/register
.Sent Request
Received Response
Synapse:
Dendrite:
I believe Synapse will just set the new username to the next available user ID. So for instance, if my homeserver has registered 3 users, the newly generated username would be
@4:homeserver.xyz
. We can either use this method or some other method that generates ID in an increasing manner.Summary:
The text was updated successfully, but these errors were encountered: