mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
turn @'s to -'s rather than .'s
This commit is contained in:
parent
240e940c3f
commit
b22a53e357
@ -388,7 +388,7 @@ class RegisterRestServlet(RestServlet):
|
||||
)
|
||||
):
|
||||
address = auth_result[login_type]['address']
|
||||
desired_username = address.replace('@', '.').lower()
|
||||
desired_username = address.replace('@', '-').lower()
|
||||
|
||||
if desired_username is not None:
|
||||
yield self.registration_handler.check_username(
|
||||
|
Loading…
Reference in New Issue
Block a user