mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-18 06:34:20 -05:00
Add some more comments appservice user registration
Explain why we don't validate userids registered via app services
This commit is contained in:
parent
e0ebd1e4bd
commit
e508145c9b
@ -225,7 +225,10 @@ class RegisterRestServlet(RestServlet):
|
|||||||
# fallback to 'username' if they gave one.
|
# fallback to 'username' if they gave one.
|
||||||
desired_username = body.get("user", desired_username)
|
desired_username = body.get("user", desired_username)
|
||||||
|
|
||||||
# XXX we should check that desired_username is valid
|
# XXX we should check that desired_username is valid. Currently
|
||||||
|
# we give appservices carte blanche for any insanity in mxids,
|
||||||
|
# because the IRC bridges rely on being able to register stupid
|
||||||
|
# IDs.
|
||||||
|
|
||||||
access_token = get_access_token_from_request(request)
|
access_token = get_access_token_from_request(request)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user