-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
When using numeric only id, registration fails but after checking captcha, mail, ... #7576
Comments
I'm wondering if this should be caught by the call to |
Another solution would be to move the check on whether the username is numeric much sooner in the registration flow, e.g. as soon as we can see a username: synapse/synapse/rest/client/v2_alpha/register.py Lines 441 to 447 in 9dc6f30
|
FTR RiotX does not use |
Personally I'd advocate that clients should always call For this reason I think we should do both, having FTR it looks like simply moving that check to |
Ok, I understand. But To my point of view, And as per https://matrix.org/docs/spec/client_server/latest#get-matrix-client-r0-register-available:
Which confirm my point of view that it's better not to use this API during registration :) |
Fixed by #7625 |
This error
synapse/synapse/handlers/register.py
Line 177 in b2b8699
You get this error very late in the register flow, a bit annoying to know it only after having completed all the register steps
Can it be checked like for 'User ID already taken.'?
The text was updated successfully, but these errors were encountered: