mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-31 03:28:51 -04:00
Downcase userids for shared-secret registration
This commit is contained in:
parent
9b599bc18d
commit
e0ebd1e4bd
2 changed files with 21 additions and 3 deletions
|
@ -359,7 +359,7 @@ class RegisterRestServlet(ClientV1RestServlet):
|
|||
if compare_digest(want_mac, got_mac):
|
||||
handler = self.handlers.registration_handler
|
||||
user_id, token = yield handler.register(
|
||||
localpart=user,
|
||||
localpart=user.lower(),
|
||||
password=password,
|
||||
admin=bool(admin),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue