mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-19 16:14:18 -05:00
splt long line
This commit is contained in:
parent
07ad03d5df
commit
883aabe423
@ -224,7 +224,9 @@ class RegisterRestServlet(RestServlet):
|
|||||||
if k not in body:
|
if k not in body:
|
||||||
absent.append(k)
|
absent.append(k)
|
||||||
|
|
||||||
existingUid = self.hs.get_datastore().get_user_id_by_threepid('email', body['email'])
|
existingUid = self.hs.get_datastore().get_user_id_by_threepid(
|
||||||
|
'email', body['email']
|
||||||
|
)
|
||||||
if existingUid is not None:
|
if existingUid is not None:
|
||||||
raise SynapseError(400, "Email is already in use", Codes.THREEPID_IN_USE)
|
raise SynapseError(400, "Email is already in use", Codes.THREEPID_IN_USE)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user