mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-17 07:39:16 -05:00
More underscores
This commit is contained in:
parent
a218619626
commit
7ac8a60c6f
2 changed files with 4 additions and 4 deletions
|
|
@ -121,7 +121,7 @@ class RegisterRestServlet(RestServlet):
|
|||
if LoginType.EMAIL_IDENTITY in result:
|
||||
threepid = result[LoginType.EMAIL_IDENTITY]
|
||||
|
||||
for reqd in ['medium', 'address', 'validatedAt']:
|
||||
for reqd in ['medium', 'address', 'validated_at']:
|
||||
if reqd not in threepid:
|
||||
logger.info("Can't add incomplete 3pid")
|
||||
else:
|
||||
|
|
@ -129,7 +129,7 @@ class RegisterRestServlet(RestServlet):
|
|||
user_id,
|
||||
threepid['medium'],
|
||||
threepid['address'],
|
||||
threepid['validatedAt'],
|
||||
threepid['validated_at'],
|
||||
)
|
||||
|
||||
if 'bind_email' in params and params['bind_email']:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue