turn @'s to -'s rather than .'s

pull/3096/head
Matthew Hodgson 2018-04-17 09:32:42 +01:00
parent 240e940c3f
commit b22a53e357
1 changed files with 1 additions and 1 deletions

View File

@ -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(