diff options
author | David Baker <dave@matrix.org> | 2015-04-24 11:27:38 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-04-24 11:27:38 +0100 |
commit | a21861962608726a5fe443762421c80119517778 (patch) | |
tree | 9b5ba7684facf3662a0a08df2baf2b1c9ed2683e /synapse/rest/client/v2_alpha/register.py | |
parent | pep8 (diff) | |
download | synapse-a21861962608726a5fe443762421c80119517778.tar.xz |
Use underscores instead of camelcase for id server stuff
Diffstat (limited to 'synapse/rest/client/v2_alpha/register.py')
-rw-r--r-- | synapse/rest/client/v2_alpha/register.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py index e93897e285..dd176c7e77 100644 --- a/synapse/rest/client/v2_alpha/register.py +++ b/synapse/rest/client/v2_alpha/register.py @@ -136,11 +136,11 @@ class RegisterRestServlet(RestServlet): logger.info("bind_email specified: binding") emailThreepid = result[LoginType.EMAIL_IDENTITY] - threepidCreds = emailThreepid['threepidCreds'] + threepid_creds = emailThreepid['threepid_creds'] logger.debug("Binding emails %s to %s" % ( emailThreepid, user_id )) - yield self.identity_handler.bind_threepid(threepidCreds, user_id) + yield self.identity_handler.bind_threepid(threepid_creds, user_id) else: logger.info("bind_email not specified: not binding email") |